summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2015-01-07 10:56:28 +0100
committerAndreas Gohr <gohr@cosmocode.de>2015-01-07 10:56:28 +0100
commit326dd43a06ec0806d8771d08a0733d63090e126f (patch)
treeaf4958834433ea26ac17c927021b385a6e2467eb /inc/common.php
parent79e79377626799a77c11aa7849cb9c64305590c8 (diff)
downloadrpg-326dd43a06ec0806d8771d08a0733d63090e126f.tar.gz
rpg-326dd43a06ec0806d8771d08a0733d63090e126f.tar.bz2
Remove IE6 workaround for redirects with hashes
We no longer support IE6, so hashes in URLs no longer need to be protected when redirecting.
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/inc/common.php b/inc/common.php
index 9b330000b..5a8b5c900 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1807,17 +1807,6 @@ function send_redirect($url) {
// always close the session
session_write_close();
- // work around IE bug
- // http://www.ianhoar.com/2008/11/16/internet-explorer-6-and-redirected-anchor-links/
- @list($url, $hash) = explode('#', $url);
- if($hash) {
- if(strpos($url, '?')) {
- $url = $url.'&#'.$hash;
- } else {
- $url = $url.'?&#'.$hash;
- }
- }
-
// check if running on IIS < 6 with CGI-PHP
if($INPUT->server->has('SERVER_SOFTWARE') && $INPUT->server->has('GATEWAY_INTERFACE') &&
(strpos($INPUT->server->str('GATEWAY_INTERFACE'), 'CGI') !== false) &&