Last modified: 2006-04-09 19:11:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4781 - %26 (= &) in Weblink-URL
%26 (= &) in Weblink-URL
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
: 5064 5214 5267 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-01-28 19:07 UTC by Raimond Spekking
Modified: 2006-04-09 19:11 UTC (History)
4 users (show)

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


Description Raimond Spekking 2006-01-28 19:07:58 UTC

inserted in an article is converted into

(see [[de:Benutzer:Raymond/TestURL]])
This converted URL gives an error at
I have found out, that decoding of %26 to & in the (...)-part of the URL makes
the problem. The searchengine of needs %26 instead of & for
combining two or more searchwords. I don't know if this is a bug or a feature,
of mediawiki or

Comment 1 Brion Vibber 2006-01-28 20:08:52 UTC
Seems to be a regression in 1.6; works fine in 1.5.
Comment 2 Brion Vibber 2006-01-28 20:26:30 UTC
The problem is in Parser::replaceUnusualEscapes, which was added to normalize escaping
in URL hostnames to make it harder to skip around spam blacklists. However it's
working over the *entire* URL and isn't excluding '+'.

As far as I can tell + isn't allowed in hostnames, but some browsers (at least Safari)
do allow using it.

Either + should be excluded in this processing, or the processing should be restricted
to the hostname portion of the URL.
Comment 3 Brion Vibber 2006-02-22 19:44:45 UTC
*** Bug 5064 has been marked as a duplicate of this bug. ***
Comment 4 Brion Vibber 2006-03-16 18:13:40 UTC
*** Bug 5267 has been marked as a duplicate of this bug. ***
Comment 5 Brion Vibber 2006-03-17 00:30:59 UTC
Added parser test cases, going to poke at this...
Comment 6 Brion Vibber 2006-04-09 19:11:35 UTC
*** Bug 5214 has been marked as a duplicate of this bug. ***

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