switch to getInsecureServerHost

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/279/head
Maxence Lange 2018-12-26 22:21:17 -01:00
rodzic 4342d2d51e
commit 90f18ea621
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -302,7 +302,12 @@ class SignatureService {
continue;
}
$estimated .= "\n" . $key . ': ' . $request->getHeader($key);
$value = $request->getHeader($key);
if ($key === 'host') {
$value = $request->getInsecureServerHost();
}
$estimated .= "\n" . $key . ': ' . $value;
}
return $estimated;