mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-30 11:11:23 +02:00
Merge branch 'ticket/bantu/9908' into develop-olympus
* ticket/bantu/9908: [ticket/9908] Send 301 before stripping SID so bots do (hopefully) not revisit.
This commit is contained in:
commit
065bcde662
@ -592,6 +592,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')));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user