diff options
author | Andrey Andreev <narf@devilix.net> | 2015-02-18 20:14:55 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-02-18 20:14:55 +0100 |
commit | 0ae4e6c0bd95b7264bee735fb635f317c882bbef (patch) | |
tree | 8721193fcd9b7fd6679606d0953208ad3c919cb0 /application/config/config.php | |
parent | 82219d7dea7c44d16c16c198e2b1aae10afb7c8e (diff) |
Fix #3593
Revert "fixes" for #167, #388, #705 (also #1326) as it turns out
URL-decoding isn't compliant with the CGI/1.1 specification.
RFC 3875: http://www.faqs.org/rfcs/rfc3875.html
Diffstat (limited to 'application/config/config.php')
-rw-r--r-- | application/config/config.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/application/config/config.php b/application/config/config.php index 306fc2cae..7d5c24c84 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -37,17 +37,16 @@ $config['index_page'] = 'index.php'; |-------------------------------------------------------------------------- | | This item determines which server global should be used to retrieve the -| URI string. The default setting of 'AUTO' works for most servers. +| URI string. The default setting of 'REQUEST_URI' works for most servers. | If your links do not seem to work, try one of the other delicious flavors: | -| 'AUTO' Default - auto detects -| 'CLI' or 'argv' Uses $_SERVER['argv'] (for php-cli only) -| 'PATH_INFO' Uses $_SERVER['PATH_INFO'] -| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI'] -| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING'] +| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI'] +| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING'] +| 'PATH_INFO' Uses $_SERVER['PATH_INFO'] | +| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded! */ -$config['uri_protocol'] = 'AUTO'; +$config['uri_protocol'] = 'REQUEST_URI'; /* |-------------------------------------------------------------------------- |