We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Use the "Check URLs from clipboard" button in the start screen with an URL which contains an ipv6 address e.g. "http://[::1]/"
URLs with ipv6 addresses should be valid.
A toast "no links detected" pops up.
2.14
Android 14
GrapheneOS
The android.util.Patterns.WEB_URL pattern does not match ipv6 addresses.
UrlChecker/app/src/main/java/com/trianguloy/urlchecker/utilities/methods/AndroidUtils.java
Line 204 in 9227535
The text was updated successfully, but these errors were encountered:
That's an oddly specific bug, but an interesting one.
And yes, the problem is exactly what you mention, that official pattern doesn't allow them.
I want to allow the app to manage other non-http uris, so I'll probably use a more generic uri pattern (and maybe even let the user configure it? Hmm)
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
Use the "Check URLs from clipboard" button in the start screen with an URL which contains an ipv6 address e.g. "http://[::1]/"
Expected behavior
URLs with ipv6 addresses should be valid.
Actual behavior
A toast "no links detected" pops up.
URLCheck version
2.14
Android version
Android 14
Android Custom/Specific ROM or Device
GrapheneOS
Other details
The android.util.Patterns.WEB_URL pattern does not match ipv6 addresses.
UrlChecker/app/src/main/java/com/trianguloy/urlchecker/utilities/methods/AndroidUtils.java
Line 204 in 9227535
Acknowledgements
The text was updated successfully, but these errors were encountered: