Last modified: 2005-06-24 13:04:16 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 T3001, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1001 - In ext. links don't change "\" to "/"
In ext. links don't change "\" to "/"
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-parsertest
Depends on:
Blocks: 343
  Show dependency treegraph
Reported: 2004-12-04 14:29 UTC by Stefan
Modified: 2005-06-24 13:04 UTC (History)
1 user (show)

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


Description Stefan 2004-12-04 14:29:14 UTC
The Link
is not beeing rendered, but shown like it would be inside a <nowiki> section.
Comment 1 Zigger 2004-12-04 15:30:37 UTC with the bug (parsing stops at the \ character and the
surrounding brace-pair is displayed) is running v1.3.7wm. on
1.4beta1 treats the \ character as part of the URL ok, but they are getting
changed to the / character in the href attribute instead of being encoded. 
Related to bug 343.
Comment 2 Brion Vibber 2004-12-04 16:49:14 UTC

2.4.3. Excluded US-ASCII Characters

   Although they are disallowed within the URI syntax, we include here a
   description of those US-ASCII characters that have been excluded and
   the reasons for their exclusion.


   Other characters are excluded because gateways and other transport
   agents are known to sometimes modify such characters, or they are
   used as delimiters.

   unwise      = "{" | "}" | "|" | "\" | "^" | "[" | "]" | "`"

   Data corresponding to excluded characters must be escaped in order to
   be properly represented within a URI.

So I'm pretty sure that a literal "\" is not allowed in a URL.
Comment 3 Wikipedia:en:User:Paddu 2004-12-04 17:18:24 UTC
Yeah, "\" is not allowed. So it should be converted to "%5C". That's what
comment 1 says. Converting it to "/" might not always work, but I'm not sure
about it. Is it known that all "major" web servers treat "%5C" as equivalent to "/"?

The server at which is linked to by the URL of this bug
seems to treat "%5C" and "/" equivalently, though.
Comment 4 Wikipedia:en:User:Paddu 2005-03-27 14:15:54 UTC
This bug only deals with links with a "\". For other problematic characters see
bug 343.

Changing the URL to an older version of the page that uses an ext. link with "\".

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