scripts icon indicating copy to clipboard operation
scripts copied to clipboard

[urlserver.py] GitHub URLs have %0F added

Open The-Compiler opened this issue 10 years ago • 1 comments

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)

The-Compiler avatar Jul 16 '15 08:07 The-Compiler

It comes from the color reset code, here's the raw data:

\x0302\x1Fhttp://git.io/abcde\x0F

arza-zara avatar Jul 16 '15 08:07 arza-zara