Frontend: Fix user password changing and use HTTP 307 for redirecting
This commit is contained in:
@@ -326,7 +326,7 @@ sub redirect {
|
||||
my $aClient = $_[0];
|
||||
my $aLocation = $_[1];
|
||||
|
||||
my $response = getBaseResponse(301, "Moved Permanently");
|
||||
my $response = getBaseResponse(307, "Temporary Redirect");
|
||||
$response.="Content-Length: 0\r\n";
|
||||
$response.="Location: $aLocation\r\n";
|
||||
$aClient->send($response);
|
||||
|
||||
Reference in New Issue
Block a user