We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94deb41 commit 59180bdCopy full SHA for 59180bd
src/Middleware/RequestHandler.php
@@ -77,7 +77,7 @@ public function handle(
77
// 307 is used here to preserve any POST data that may be in the request.
78
if(!str_ends_with($uriPath, "/")) {
79
return $response
80
- ->withHeader("Location", $requestUri)
+ ->withHeader("Location", "$requestUri/")
81
->withStatus(307);
82
}
83
0 commit comments