scripts
scripts copied to clipboard
[urlserver.py] GitHub URLs have %0F added
With plugins.var.python.urlserver.display_urls_in_msg set to on, it seems URLs posted by the GitHub IRC bot (which can be enabled in a repo under "services") somehow get corrupted:
<qutebrowser-gh> [qutebrowser] The-Compiler pushed 1 new commit to master: http://git.io/vm3dF [ http://cmpl.cc:8888/7pv ]
The git.io URL works fine, but the urlserver URL redirects to http://git.io/vm3dF%0F, i.e. an extra %0F at the end.
This is with urlserver 1.9 on WeeChat 1.3-dev (from -git)
It comes from the color reset code, here's the raw data:
\x0302\x1Fhttp://git.io/abcde\x0F