diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-31 07:02:39 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-31 07:02:39 +0200 |
commit | 9e91804a7ac273816afe296c660025ecf9c79cde (patch) | |
tree | b92a0167a8fd794c73c583df985a850adf1b35e3 /netwerk | |
parent | 43cebecade19978f231253b221cb36bc7039661b (diff) | |
download | uxp-9e91804a7ac273816afe296c660025ecf9c79cde.tar.gz |
Fixed misleading console error message for multiple CORS headers
Diffstat (limited to 'netwerk')
-rw-r--r-- | netwerk/protocol/http/nsCORSListenerProxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsCORSListenerProxy.cpp b/netwerk/protocol/http/nsCORSListenerProxy.cpp index c2a6243305..b9355c82bf 100644 --- a/netwerk/protocol/http/nsCORSListenerProxy.cpp +++ b/netwerk/protocol/http/nsCORSListenerProxy.cpp @@ -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; } |