Closed
Bug 1133819
Opened 9 years ago
Closed 9 years ago
Link parsing broken for URL that ends with dash ("-")
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 177820
People
(Reporter: markus.kell.r, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150122214805 Steps to reproduce: Link parsing is broken for URL that ends with a dash. The Javadoc tool is a prominent example where such links are used. Only the last of these URLs are properly linkified: http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString-- <http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--> "http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--" (http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString%2d%2d Actual results: Only http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString is linkified, but that anchor is not defined on that page. Expected results: Links should include the "-". According to https://tools.ietf.org/html/rfc3986 , the "-" is a character in the unreserved category, and those can legally appear in the fragment.
Updated•9 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•