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

--- Comment #7 from Jack D. Pond <[email protected]> 2010-06-10 17:43:57 UTC 
---
Created an attachment (id=7456)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7456)
Patch for IIS "doesn't use $_SERVER['REQUEST_URI']" issue

This is conjecture, but I believe one of the patches to IIS and/or PHP has made
it so that $_SERVER['REQUEST_URI'] is no longer "undefined", but rather just
returned as ''.  This patch would fix that.

CAVEAT:  I do not know if there is a valid condition under which the
REQUEST_URI would be blank in a non-IIS environment.  Someone who knows this
code and its purpose should look at this to make sure such a patch wouldn't
uninentionally break a $_SERVER['REQUEST_URI'] == '' condition that is valid
for reasons other than IIS doesn't use it.

If someone can validate this would not cause other errors, I'd be glad to
commit to both 1.16beta03 and trunk.

-- 
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