Index: trunk/phase3/includes/Article.php |
— | — | @@ -1404,7 +1404,7 @@ |
1405 | 1405 | if ( !$this->hasViewableContent() ) { |
1406 | 1406 | // If there's no backing content, send a 404 Not Found |
1407 | 1407 | // for better machine handling of broken links. |
1408 | | - $wgRequest->response()->header( "HTTP/1.x 404 Not Found" ); |
| 1408 | + $wgRequest->response()->header( "HTTP/1.1 404 Not Found" ); |
1409 | 1409 | } |
1410 | 1410 | |
1411 | 1411 | $wgOut->addWikiText( $text ); |
Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -520,7 +520,7 @@ |
521 | 521 | if ( !$this->getID() ) { |
522 | 522 | // If there is no image, no shared image, and no description page, |
523 | 523 | // output a 404, to be consistent with articles. |
524 | | - $wgRequest->response()->header( "HTTP/1.x 404 Not Found" ); |
| 524 | + $wgRequest->response()->header( "HTTP/1.1 404 Not Found" ); |
525 | 525 | } |
526 | 526 | } |
527 | 527 | } |
Index: trunk/phase3/includes/WebStart.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | ); |
36 | 36 | foreach ( $_REQUEST as $name => $value ) { |
37 | 37 | if( in_array( $name, $verboten ) ) { |
38 | | - header( "HTTP/1.x 500 Internal Server Error" ); |
| 38 | + header( "HTTP/1.1 500 Internal Server Error" ); |
39 | 39 | echo "register_globals security paranoia: trying to overwrite superglobals, aborting."; |
40 | 40 | die( -1 ); |
41 | 41 | } |