Page MenuHomePhabricator

any wikimedia page with %00 after it causes loop
Closed, ResolvedPublic

Description

Author: rich13

Description:
Accidental pasting in of %00 after a wikimedia page in Safari (OS X) and possibly other browsers/platforms, causes the URL to extend, in a loop.

eg. http://en.wikipedia.org/wiki/Main_Page%00

becomes

http://en.wikipedia.org/wiki/wiki/wiki/wiki/wiki/wiki/Main_Page%00 and continues to get longer.

I tried this with up-to-date versions of Safari and Firefox, both running on OS X. With Firefox, I got a redirection error, but in Safari the URL
physically extended.

I am unable to test in other browsers at this time.


Version: unspecified
Severity: major
URL: http://en.wikipedia.org/wiki/Main_Page%00

Details

Reference
bz1440
TitleReferenceAuthorSource BranchDest Branch
Update analytics webrequest refine job jar versionrepos/data-engineering/airflow-dags!489joalupdate_analytics_pageview_jarmain
[builds-cli]: drop direct k8s api calls and use builds-api exclusivelyrepos/cloud/toolforge/builds-cli!6raymond-ndibefull_frontend_refactormain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:12 PM
bzimport set Reference to bz1440.
bzimport added a subscriber: Unknown Object (MLST).

zigger wrote:

I can reproduce a redirect loop error on en.wikipedia under Windows 2000 with
Firefox 1.0, but not locally where I have no Apache rewrite rules. IE6-SP1
either has a much larger redirect limit or no limit at all.
This URL does not loop: http://en.wikipedia.org/w/index.php?title=Main_Page%00

zigger wrote:

Using Firefox 1.04, the URL now returns a 404 "Not Found" error.
(en.wikipedia.org is currently running MediaWiki 1.4.5.)

gangleri wrote:

with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
Firefox/1.0.7
it returns
404 error: File not found