Fix: Issue where Gerrit could not linkify certain URLs
In commit 742a56e31dcab7bb3314c47107ac00e7e47e6464
support was added to allow Gerrit to linkify URLs
containing "~".
However, since the "~"-character was added after the
dash "-" in the regex pattern:
742a56: [a-zA-Z0-9$_.+!*',%;:@=?#/-~]
^
...it effectively changed the meaning of "-" from
a literal character to instead include the full range
of characters between "/" and "~" (EXCLUDING
the actual "-" sign)
This patch allows Gerrit to again acknowledge the "-"
to be a part of the url.
Change-Id: Ia7754481daea103be0664891aa612d6a13d8e344
1 file changed