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/protocol/http | |
parent | 43cebecade19978f231253b221cb36bc7039661b (diff) | |
download | UXP-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/protocol/http')
-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 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; } |