Project

General

Profile

Bug #1384

Clickable links ignore some valid URI characters.

Added by wink about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/01/2015
Due date:
% Done:

0%

Estimated time:
Version:
0.11-pre
OS:
Any

Description

For example http://example.org/bar'baz only highlights (and makes clickable) http://example.org/bar and not the whole url.

It seems this was correct at some point but got broken in [0].

While the removal of "[" and "]" in this commit was correct, according to [1] the "'" (single quote) is fine.

[0] also references RFC 2396 which should be superseded by RFC 3986, but it's kind of hard to define as [2] (a Firefox bug) was arguing to and fro for years over "'" versus "%27" (related, but not a parser bug per se).

[0]: http://bugs.quassel-irc.org/projects/quassel-irc/repository/revisions/c1559056803360cc528c578e3458a0bae33bd56c
[1]: https://url.spec.whatwg.org/#url-code-points
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1040285

Also available in: Atom PDF