-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Enabling JS for IPv6 Address fails #4006
Comments
Any update on this? |
The URL match patterns are ported from Chromium's match patterns - at the time I implemented/ported them, they didn't support IPv6 addresses in Chromium either. However, it looks like support for that was added to Chromium, incidentally a few hours after you opened this issue 😆 So all that needs to be done is porting those changes (and the associated tests) to qutebrowser's urlmatch.py and test_urlmatch.py. I probably won't work on that anytime soon though. |
ok... |
If someone is willing to give me some pointers I'd be glad to look into this |
@tiemenv Have you seen the links in my post above? Basically, the change in the linked commit needs to be ported from C++ to Python. |
As @DerJesko points out in #4118, parsing IPv6 addresses in >>> urlmatch.UrlPattern('*://[2001:41d0:2:3b68::1]/*')
qutebrowser.utils.urlmatch.UrlPattern(pattern='*://[2001:41d0:2:3b68::1]/*') so the issue you're actually seeing is with the |
I don't think this should be closed yet, as |
Ah, that's true, I only tested the tsu binding(s).
On my server http://[::1]:8080/ {url} is http://[::1]:8080/ and {url:host} is
'::1'. This fails in the actual binding because it's not in square brackets
(I'm guessing).
I'm also not sure if this would be different if it wasn't just my toy server
setup :P
Florian Bruhin writes:
… I don't think this should be closed yet, as tsh probably still doesn't work. Can't test it currently though, as I'm rarely in a network with IPv6 support 😟
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@The-Compiler I just ran into this |
@lufte Nope, but I think it's the same underlying issue as this one. |
When I try to enable js for an IPv6 Address with the default
tsh
binding i get the following error message:The text was updated successfully, but these errors were encountered: