From 4421f18294e9c1c3ee1ef0b23975b1da4fa1d8dd Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 15 Mar 2012 15:14:24 -0700 Subject: [PATCH] Recommend "B" flag to Apache config Summary: Split from D1921 via D1742. The "B" flag prevents excessive unescaping, especially of "+" into " ". Test Plan: Added "B" to server config, var_dump()'d __path__ with "+" in it, got "+" instead of " ". Reviewers: nh, vrana, btrahan Reviewed By: nh CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1922 --- src/docs/configuration/configuration_guide.diviner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/configuration/configuration_guide.diviner b/src/docs/configuration/configuration_guide.diviner index 1073caa5be..2d9e47b944 100644 --- a/src/docs/configuration/configuration_guide.diviner +++ b/src/docs/configuration/configuration_guide.diviner @@ -89,7 +89,7 @@ this: RewriteEngine on RewriteRule ^/rsrc/(.*) - [L,QSA] RewriteRule ^/favicon.ico - [L,QSA] - RewriteRule ^(.*)$ /index.php?__path__=$1 [L,QSA] + RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA] # This will use the config file you set up in the previous step. If you # called it something other than 'myconfig', put that here.