[Bug 448044] Problem with apostrophe in URL

gnome-terminal (bugzilla.gnome.org) bugzilla at gnome.org
Sat Sep 29 12:39:03 UTC 2012


https://bugzilla.gnome.org/show_bug.cgi?id=448044
  gnome-terminal | general | 2.18.x

Daniel Micay <danielmicay> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danielmicay at gmail.com

--- Comment #4 from Daniel Micay <danielmicay at gmail.com> 2012-09-29 12:38:58 UTC ---
Obviously it's not possibly to match every *intended* URL in unstructured text,
but I think all truly valid ones (per the URL RFC) should be matched as a
baseline.

>From my perspective, treating single quotes and parentheses in a special way
results in far more URLs being matched incorrectly than the alternative. The
older RFC suggested surrounding URLs in unstructured text with < and >, which
is exactly what ReStructured Text and many IRC bots do.

According to the URL RFC, all of these are valid characters to leave unencoded
in a URL (but can be used with a special meaning within the URL scheme):

      gen-delims  = ":" / "/" / "?" / "#" / "[" / "]" / "@"

      sub-delims  = "!" / "$" / "&" / "'" / "(" / ")"
                  / "*" / "+" / "," / ";" / "="

Along with the fully unreserved characters:

      unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"

https://www.ietf.org/rfc/rfc1738.txt
https://tools.ietf.org/html/rfc3986

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the pkg-gnome-maintainers mailing list