Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/9908] Send 301 before stripping SID so bots do (hopefully) not revisit.
This commit is contained in:
Nils Adermann 2011-06-11 01:26:19 +02:00
commit 7f7a94e5dc

View file

@ -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')));
}