Last modified: 2011-03-04 13:33:57 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 T11007, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9007 - & in expressions cuts adress bar link off
& in expressions cuts adress bar link off
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
WikiLexicalData/OmegaWiki (Other open bugs)
unspecified
PC Windows XP
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.omegawiki.org/DefinedMeani...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-17 01:47 UTC by Martin Killmann
Modified: 2011-03-04 13:33 UTC (History)
1 user (show)

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


Attachments

Description Martin Killmann 2007-02-17 01:47:54 UTC
The bug appeared while creating
http://www.omegawiki.org/DefinedMeaning:Dungeons_and_Dragons_%28450997%29

If you click on the syntranses that contain & (ampersand), the expression is cut
off before the ampersand in the adress bar. The software needs to wrap around
the & to display the correct link.
Comment 1 Brion Vibber 2007-02-18 20:42:18 UTC
The problem here is probably the rewrite rules; it looks like the site is
rewriting URLs to a form like index.php?title=$1 ... this will break the
parameter when a %26 occurs because Apache forces it to be de-escaped to & for
reasons not known to mortal man.

As a hackaround on the broken rewrite scheme, you could use the patch for Apache
1.3.x we provide which adds a rewrite function to re-escape the & in the title.

See http://meta.wikimedia.org/wiki/Using_a_very_short_URL#Patching_Apache

A cleaner method with an Alias may be preferable, depending on configuration.
Comment 2 Kipmaster 2011-03-04 13:33:57 UTC
Seems to work as expected now.

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


Navigation
Links