Last modified: 2008-02-12 22:37:22 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 2088 - Consecutive /s merged in PATH_INFO URLs on Apache 2
Consecutive /s merged in PATH_INFO URLs on Apache 2
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 2220 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2005-05-06 06:07 UTC by lɛʁi לערי ריינהארט
Modified: 2008-02-12 22:37 UTC (History)
2 users (show)

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


Description lɛʁi לערי ריינהארט 2005-05-06 06:07:29 UTC

Please go at .

Change your prefferences to English. Press CTRL-SHIFT-R in Mozilla Firefox.

There is an entry that looks like <nowiki>Http://</nowiki>

a) click on it and you will think it is empty
b) go to Recentchanges and click on
this will open
(hope that the page in bugzilla does not break again)

This is not the only one:

You can see some tests.

There is a line "<nowiki>Compare with: [[: ]], [[:_]], #, [[:+]], /, :, &, ?, %,
Klick on the link "/". This is the same behaviour.

Read the "notes" about behaviour at [[yi:User:Gangleri/tests#curiosity .2F]] .

Hope that [[fi:user:ikerabbit]] can tell you more about his Betawiki.

Thanks for your time reading and fixing this.

Regards Reinhardt
Comment 1 Brion Vibber 2005-05-06 06:25:48 UTC
Seems to be specific to PATH_INFO urls on Apache 2. Samples:
* title displayed as "A/b"
* PHP installed as apache2handler
* title at wiki is "A//b"
* PHP installed as apache

Putting the title in the query string on Apache 2 shows correctly:
Comment 2 Brion Vibber 2005-05-22 06:20:02 UTC
*** Bug 2220 has been marked as a duplicate of this bug. ***
Comment 3 Zigger 2005-05-22 12:37:15 UTC
See also bug 98 and bug 428.
Comment 4 lɛʁi לערי ריינהארט 2005-06-05 13:37:41 UTC
This bug has impacts on [[Special:Random]] because these pages are "selected
randomly" but not displayed properly. It can happen that "this pages does not
exist" will be shown.


Regards Reinhardt
Comment 5 Zigger 2005-06-25 14:55:01 UTC
This is in the ASF bug database for "Apache httpd-2.0".  See ("SCRIPT_NAME wrong
value"), which has a similar underlying issue with PATH_INFO as bug 1519.

A fix could a bit more complicated than the one for bug 1519, as it needs to
deal with two broken environment variables, either one of which may be fixed
first in a future Apache release, and it also needs to handle combinations of
leading, embedded, and trailing slashes.  

Alternatively, the code could just parse REQUEST_URI itself.  For other Apache
2.0 issues with PATH_INFO, see

One work-around is to stop using pretty URLs by setting $wgUsePathInfo to false
in LocalSettings.php.
Comment 6 Zigger 2005-06-26 17:02:04 UTC
(In reply to comment #5)
>... Alternatively, the code could just parse REQUEST_URI itself. ...

If this is done, watch out for encoding differences.  REQUEST_URI is
URL-encoded, while PATH_INFO and SCRIPT_NAME are normalised.
Comment 7 Brion Vibber 2008-02-12 22:37:22 UTC
This should have been resolved by the new title interpolation code in 1.10 or 1.11. Resolving as FIXED; reopen if still encountering such troubles.

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