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 "/"
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wikipedia.org/w/index.php?t...
: 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: ---


Attachments

Description Stefan 2004-12-04 14:29:14 UTC
The Link
[http://www.bosch-presse.de/cgi-bin/cgiWebLinkImage.exe/3-10031.JPG.jpg?sid=5733990&action=jpeg&image=\\Obelix\arena2\Bilder\bosch_pb\1298\jpg_org\jpg\3-10031.jpg]
is not beeing rendered, but shown like it would be inside a <nowiki> section.
Comment 1 Zigger 2004-12-04 15:30:37 UTC
de.wikipedia.org with the bug (parsing stops at the \ character and the
surrounding brace-pair is displayed) is running v1.3.7wm.  test.wikipedia.org 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
http://www.faqs.org/rfcs/rfc2396.html

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.

[snip]

   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 www.bosch-presse.de 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.


Navigation
Links