diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-08-04 06:18:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 06:18:06 +0200 |
commit | c546de53113d5a903abc096ea3646ad6b9641fe6 (patch) | |
tree | 8363488ce02c5fba10dbafda598398bac151f831 /netwerk | |
parent | 3d5dbe3f75bd7d75958efcbd046e8c048faec0f2 (diff) | |
parent | 9e91804a7ac273816afe296c660025ecf9c79cde (diff) | |
download | UXP-c546de53113d5a903abc096ea3646ad6b9641fe6.tar UXP-c546de53113d5a903abc096ea3646ad6b9641fe6.tar.gz UXP-c546de53113d5a903abc096ea3646ad6b9641fe6.tar.lz UXP-c546de53113d5a903abc096ea3646ad6b9641fe6.tar.xz UXP-c546de53113d5a903abc096ea3646ad6b9641fe6.zip |
Merge pull request #690 from janekptacijarabaci/netwerk_cors_multiple_1
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 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; } |