summaryrefslogtreecommitdiffstats
path: root/netwerk
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-31 07:02:39 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-31 07:02:39 +0200
commit9e91804a7ac273816afe296c660025ecf9c79cde (patch)
treeb92a0167a8fd794c73c583df985a850adf1b35e3 /netwerk
parent43cebecade19978f231253b221cb36bc7039661b (diff)
downloadUXP-9e91804a7ac273816afe296c660025ecf9c79cde.tar
UXP-9e91804a7ac273816afe296c660025ecf9c79cde.tar.gz
UXP-9e91804a7ac273816afe296c660025ecf9c79cde.tar.lz
UXP-9e91804a7ac273816afe296c660025ecf9c79cde.tar.xz
UXP-9e91804a7ac273816afe296c660025ecf9c79cde.zip
Fixed misleading console error message for multiple CORS headers
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/protocol/http/nsCORSListenerProxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsCORSListenerProxy.cpp b/netwerk/protocol/http/nsCORSListenerProxy.cpp
index c2a624330..b9355c82b 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;
}