Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace regex url validation with validator library #152

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

Barabazs
Copy link
Contributor

This PR replaces the regex url validation with the validators library.
The current regex did not cover enough/all valid URLs.

Closes #151

@Barabazs Barabazs force-pushed the fix/improve-url-detection branch from f38b5bd to ebca60f Compare October 15, 2024 08:36
@Barabazs
Copy link
Contributor Author

Barabazs commented Dec 9, 2024

Friendly 🆙

@GjjvdBurg GjjvdBurg merged commit 3dfa2ba into GjjvdBurg:master Dec 9, 2024
0 of 2 checks passed
@GjjvdBurg
Copy link
Owner

Thanks @Barabazs!

@Barabazs Barabazs deleted the fix/improve-url-detection branch December 10, 2024 13:21
GjjvdBurg added a commit that referenced this pull request Jan 4, 2025
* Add support for uploading through USB (thanks to @sachiniyer in #155)
* Add support for forcing source type (thanks to @Barabazs in #153)
* Migrate regex url validation to validators library (thanks to @Barabazs in
  #152)
* Update the Dockerfile (thanks to @Barabazs in #150)
* Update documentation to link to rmapi fork (thanks to @Barabazs in #149)
* Various fixes to broken providers and unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

URL regex fails for valid URL
2 participants