kopia lustrzana https://github.com/nextcloud/social
switch to getInsecureServerHost
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/279/head
rodzic
4342d2d51e
commit
90f18ea621
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue