We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c43610 commit ae80c25Copy full SHA for ae80c25
lib/proxy.js
@@ -991,7 +991,7 @@ Proxy.filterAndCanonizeHeaders = function(originalHeaders) {
991
var headers = {};
992
for (var key in originalHeaders) {
993
var canonizedKey = key.trim();
994
- if ('/^public\-key\-pins/i'.test(canonizedKey)) {
+ if (/^public\-key\-pins/i.test(canonizedKey)) {
995
// KPKP header => filter
996
continue;
997
}
0 commit comments