Rewrite Rules: Add missing newline to the HTTP_AUTHORIZATION
rewrite rule.
Follow-up to [49109]. Props nendeb55, georgestephanis, johnbillion. Fixes #51495. See #42790. git-svn-id: https://develop.svn.wordpress.org/trunk@49131 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1ca1817ced
commit
405a561301
@ -1509,7 +1509,7 @@ class WP_Rewrite {
|
||||
|
||||
$rules = "<IfModule mod_rewrite.c>\n";
|
||||
$rules .= "RewriteEngine On\n";
|
||||
$rules .= 'RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]';
|
||||
$rules .= "RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n";
|
||||
$rules .= "RewriteBase $home_root\n";
|
||||
|
||||
// Prevent -f checks on index.php.
|
||||
|
Loading…
Reference in New Issue
Block a user