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 e21cf2f

Browse filesBrowse files
Minor change
1 parent f8f6bda commit e21cf2f
Copy full SHA for e21cf2f

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

‎routing/redirect_trailing_slash.rst

Copy file name to clipboardExpand all lines: routing/redirect_trailing_slash.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ new URL with a 308 (*HTTP Permanent Redirect*) response status code::
2828
$url = str_replace($pathInfo, rtrim($pathInfo, ' /'), $requestUri);
2929

3030
// 308 (Permanent Redirect) is similar to 301 (Moved Permanently) except
31-
// that it does not allow changing the request method from POST to GET
31+
// that it does not allow changing the request method (e.g. from POST to GET)
3232
return $this->redirect($url, 308);
3333
}
3434
}

0 commit comments

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