https://bugzilla.wikimedia.org/show_bug.cgi?id=32986

Bawolff <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Bawolff <[email protected]> 2011-12-14 02:13:45 UTC ---
cc'ing Tim since he was involved in the IE extension stuff.


So what seems to happen in my test (using file name 'IIMV4.1'.pdf )

*$_SERVER['PATH_INFO'] for some reason is "/0/01/?IIMV4.1?.pdf" (why the '
turns into a ? i'm unsure)
*First ? is ignored as not a possible extension, because isn't precedeeded by a
period
*Second ? is considered terminating an extension (Aka thinks file has extension
.1), so now checks that extension, see's its not in the whitelist (Since not
.pdf)
*MW tries to redirect the request adding &* to the end.
*Since the actual url has ' in it instead of ?, the redirected url is detected
as being ok as far as IE extension is concerned, so it thinks this won't create
a loop.
*And then we repeat.

I suppose we should make the redirect loop check also check to see if the url
already ends in a &*, but I'm not sure if its normal for PATH_INFO to have the
weirdness of ' being replaced by ? and if some programming around that is
needed.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to