forked from GNUsocial/gnu-social
add Connection: close when sending redirect
This commit is contained in:
parent
4f86e05d03
commit
ab4f4dbab4
@ -1425,6 +1425,7 @@ function common_redirect($url, $code=307)
|
||||
|
||||
header('HTTP/1.1 '.$code.' '.$status[$code]);
|
||||
header("Location: $url");
|
||||
header("Connection: close");
|
||||
|
||||
$xo = new XMLOutputter();
|
||||
$xo->startXML('a',
|
||||
|
Loading…
Reference in New Issue
Block a user