Created
December 26, 2021 07:27
-
-
Save jmkim/d954404c912cfff7c4e6f3688cb73eb0 to your computer and use it in GitHub Desktop.
Patch for ignoring unexpected escape character (\) in forwarded-parse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/index.js b/index.js | |
index df16834..0330d3a 100644 | |
--- a/index.js | |
+++ b/index.js | |
@@ -118,6 +118,7 @@ function parse(header) { | |
parameter = undefined; | |
start = end = -1; | |
} else { | |
+ continue | |
throw new ParseError(unexpectedCharacterMessage(header, i), header); | |
} | |
} else if (code === 0x20 || code === 0x09) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment