Last modified: 2006-05-01 20:32:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2343, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 343 - URL parsing doesn't match RFC 2396
URL parsing doesn't match RFC 2396
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.faqs.org/rfcs/rfc2396.html
: need-parsertest
: 430 901 1951 (view as bug list)
Depends on: 1001
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-03 03:24 UTC by Timwi
Modified: 2006-05-01 20:32 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Timwi 2004-09-03 03:24:57 UTC
BUG MIGRATED FROM SOURCEFORGE
http://sourceforge.net/tracker/index.php?func=detail&aid=800225&group_id=34373&atid=411192
Originally submitted by Brion Vibber (vibber)<a href="/help/icon_legend.php?context=user_wantsdonations&amp;user_id=446709&amp;return_to=%2F"><IMG src="http://images.sourceforge.net/images/icons/donate.png" alt="Accepting Donations" border="0" width="16" height="16"></a>  2003-09-04 07:07


Our checks for valid URL links aren't entirely
accurate, and some valid URLs are rejected. (For
instance, those containing the dollar sign $, which is
reserved but valid in a number of places, including the
query string.)

Rewriting the regexps with a closer eye to the rfc
might be a good thing.

Workaround: rejected characters can be replaced with
their %HH hex code equivalents.
Comment 1 Brion Vibber 2004-09-09 18:29:26 UTC
*** Bug 430 has been marked as a duplicate of this bug. ***
Comment 2 Wil Mahan 2004-09-23 05:07:22 UTC
Links with dollar signs work correctly in 1.4; not sure about other special
characters.
Comment 3 T. Gries 2004-11-03 11:25:00 UTC
The underscore character '_' does also not work and needs to be replaced with %5F (at least in 1.3.7 version).

URL not working in 1.3.7: http://bundesrecht.juris.de/bundesrecht/estg/__3.html
URL replacement: http://bundesrecht.juris.de/bundesrecht/estg/%5F%5F3.html
Comment 4 Brion Vibber 2004-11-17 01:18:38 UTC
*** Bug 901 has been marked as a duplicate of this bug. ***
Comment 5 lɛʁi לערי ריינהארט 2004-11-17 01:36:45 UTC
' is fixed in 1.4
: is not

See [[test:Parser_tests]] == 
http://test.wikipedia.org/wiki/User:Gangleri/tests/Parser_tests .
Comment 6 Rowan Collins [IMSoP] 2005-04-24 17:11:17 UTC
*** Bug 1951 has been marked as a duplicate of this bug. ***
Comment 7 Antoine "hashar" Musso (WMF) 2006-05-01 20:26:19 UTC
_ : . and ' are fixed at least in trunk@14007

Marking as fixed.
Comment 8 Corey Burger 2006-05-01 20:32:31 UTC
Bug 1951 talks about the use of [ and ] in urls. Are those fixed as well?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links