mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
Fixed misleading console error message for multiple CORS headers
This commit is contained in:
parent
4768460fd5
commit
acb5d5839b
2 changed files with 2 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ nsCORSListenerProxy::CheckRequestApproved(nsIRequest* aRequest)
|
|||
// check for duplicate headers
|
||||
rv = http->VisitOriginalResponseHeaders(visitor);
|
||||
if (NS_FAILED(rv)) {
|
||||
LogBlockedRequest(aRequest, "CORSAllowOriginNotMatchingOrigin", nullptr);
|
||||
LogBlockedRequest(aRequest, "CORSMultipleAllowOriginNotAllowed", nullptr);
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue