Skip to content

Commit 0e4bace

Browse files
authored
Forbid method switching (#1690)
1 parent 24c3329 commit 0e4bace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/apache-pack/1.0/public/.htaccess

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ DirectoryIndex index.php
5050
# - use Apache >= 2.3.9 and replace all L flags by END flags and remove the
5151
# following RewriteCond (best solution)
5252
RewriteCond %{ENV:REDIRECT_STATUS} =""
53-
RewriteRule ^index\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L]
53+
RewriteRule ^index\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=308,L]
5454

5555
# If the requested filename exists, simply serve it.
5656
# We only want to let Apache serve files and not directories.

0 commit comments

Comments
 (0)