aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-06-11 01:26:19 +0200
committerNils Adermann <naderman@naderman.de>2011-06-11 01:26:19 +0200
commit7f7a94e5dcddc6e3d3a75cf2cc27376e0a600fba (patch)
tree9cba633418d8d770a09c44fb0002940e43a88b6c /phpBB
parent697bc2696f8a4f46d129ea226488ef63290b6c2e (diff)
parent065bcde662c1bc4e6f3d3740e13c500849d1c027 (diff)
downloadforums-7f7a94e5dcddc6e3d3a75cf2cc27376e0a600fba.tar
forums-7f7a94e5dcddc6e3d3a75cf2cc27376e0a600fba.tar.gz
forums-7f7a94e5dcddc6e3d3a75cf2cc27376e0a600fba.tar.bz2
forums-7f7a94e5dcddc6e3d3a75cf2cc27376e0a600fba.tar.xz
forums-7f7a94e5dcddc6e3d3a75cf2cc27376e0a600fba.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9908] Send 301 before stripping SID so bots do (hopefully) not revisit.
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 6d6bd35f3f..98d5eaf32b 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -607,6 +607,7 @@ class session
// otherwise they'll index this page with the SID, duplicate content oh my!
if ($bot && isset($_GET['sid']))
{
+ send_status_line(301, 'Moved Permanently');
redirect(build_url(array('sid')));
}