When a URL is enclosed in angle brackets (<http://example.com>
) the brackets are turned into character escapes before URL processing (<http://example.com>
) and then the >
ends up appended to the end of the url (<<a href="http://example.com>">http://example.com></a>;
).
There is some general issue with escaping what gets passed into the href
attribute.
In this thread: https://mastodon.social/@mulander/2066273
The URL:
http://undeadly.org/cgi?action=article&sid=20170409123528
renders a broken URL with the ampersand escaped:
http://undeadly.org/cgi?action=article&sid=20170409123528
Looks like this was closed in https://github.com/tootsuite/mastodon/pull/2138 and released in 1.2.2. I'm going to close this issue, but if you see the problem happening, please re-open. Thanks!
Confirmed working:
https://mastodon.social/@mulander/3967306
Thanks!
Most helpful comment
There is some general issue with escaping what gets passed into the
href
attribute.In this thread: https://mastodon.social/@mulander/2066273
The URL:
http://undeadly.org/cgi?action=article&sid=20170409123528
renders a broken URL with the ampersand escaped:
http://undeadly.org/cgi?action=article&sid=20170409123528