kopia lustrzana https://github.com/nextcloud/social
assuming the host is the address of the account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/279/head
rodzic
89c8d9718b
commit
7a7462bfe8
|
@ -305,10 +305,7 @@ class SignatureService {
|
|||
|
||||
$value = $request->getHeader($key);
|
||||
if ($key === 'host') {
|
||||
$value = $request->getInsecureServerHost();
|
||||
if ($this->configService->getCloudAddress(true) !== $value) {
|
||||
continue;
|
||||
}
|
||||
$value = $this->configService->getCloudAddress(true);
|
||||
}
|
||||
|
||||
$estimated .= "\n" . $key . ': ' . $value;
|
||||
|
|
Ładowanie…
Reference in New Issue