Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1e1ab96

Browse filesBrowse files
committed
minor #6522 On line 360 the 404 Not Found header not working (mbrig-co)
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes #6522). Discussion ---------- On line 360 the `404 Not Found` header not working As the title of this change says on line 360 of this file the `404 Not Found` header is not working by the way written, it have to be like the one proposed: `header('HTTP/1.0 404 Not Found');`. Commits ------- ebaf72c On line 360 the header not working
2 parents 59be653 + ebaf72c commit 1e1ab96
Copy full SHA for 1e1ab96

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎book/from_flat_php_to_symfony2.rst

Copy file name to clipboardExpand all lines: book/from_flat_php_to_symfony2.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ on the requested URI::
357357
} elseif ('/index.php/show' === $uri && isset($_GET['id'])) {
358358
show_action($_GET['id']);
359359
} else {
360-
header('Status: 404 Not Found');
360+
header('HTTP/1.1 404 Not Found');
361361
echo '<html><body><h1>Page Not Found</h1></body></html>';
362362
}
363363

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.