Index: branches/REL1_16/phase3/includes/WebRequest.php |
— | — | @@ -436,7 +436,7 @@ |
437 | 437 | * @return string |
438 | 438 | */ |
439 | 439 | public function getRequestURL() { |
440 | | - if( isset( $_SERVER['REQUEST_URI'] ) ) { |
| 440 | + if( isset( $_SERVER['REQUEST_URI']) && strlen($_SERVER['REQUEST_URI']) ) { |
441 | 441 | $base = $_SERVER['REQUEST_URI']; |
442 | 442 | } elseif( isset( $_SERVER['SCRIPT_NAME'] ) ) { |
443 | 443 | // Probably IIS; doesn't set REQUEST_URI |
Index: branches/REL1_16/phase3/RELEASE-NOTES |
— | — | @@ -52,6 +52,7 @@ |
53 | 53 | * Fixed HTTP client functionality with safe_mode=On. |
54 | 54 | * Fixed parser tests broken in 1.16 beta 3. |
55 | 55 | * For Oracle DB backend: fixed parser tests and table prefix feature. |
| 56 | +* (bug 23767) PHP warning/error when REQUEST_URI returns blank (IIS issue). |
56 | 57 | |
57 | 58 | == Changes since 1.16 beta 2 == |
58 | 59 | |