diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2011-08-18 23:38:39 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2011-08-18 23:44:30 +0200 |
| commit | c5cef773c4811d2041c56a9c34da94a30f8190e1 (patch) | |
| tree | d3286beea76cbb7edc85732f6ccb2c4ea9fb4245 /phpBB/install/index.php | |
| parent | fd08cd8dd013c0d1bf8e18611f798c6987d9de9c (diff) | |
| download | forums-c5cef773c4811d2041c56a9c34da94a30f8190e1.tar forums-c5cef773c4811d2041c56a9c34da94a30f8190e1.tar.gz forums-c5cef773c4811d2041c56a9c34da94a30f8190e1.tar.bz2 forums-c5cef773c4811d2041c56a9c34da94a30f8190e1.tar.xz forums-c5cef773c4811d2041c56a9c34da94a30f8190e1.zip | |
[feature/request-class] Adjust code base to do html decoding manually
PHPBB3-9716
Diffstat (limited to 'phpBB/install/index.php')
| -rw-r--r-- | phpBB/install/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index bba26fde7a..f43d95301f 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -430,14 +430,14 @@ class module global $request; // HTTP_HOST is having the correct browser url in most cases... - $server_name = strtolower($request->header('Host', $request->server('SERVER_NAME'))); + $server_name = strtolower(htmlspecialchars_decode($request->header('Host', $request->server('SERVER_NAME')))); $server_port = $request->server('SERVER_PORT', 0); $secure = $request->is_secure() ? 1 : 0; - $script_name = $request->server('PHP_SELF'); + $script_name = htmlspecialchars_decode($request->server('PHP_SELF')); if (!$script_name) { - $script_name = $request->server('REQUEST_URI'); + $script_name = htmlspecialchars_decode($request->server('REQUEST_URI')); } // Replace backslashes and doubled slashes (could happen on some proxy setups) |
