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 03d1c41 commit 5d3977eCopy full SHA for 5d3977e
1 file changed
lib/parse.js
@@ -42,8 +42,8 @@ function parse(input) {
42
if (i - startingIndex > 1) {
43
// Optimization: Replace '+' with space
44
if (hasPlus) {
45
- key = key.replace(/\+/g, " ");
46
- value = value.replace(/\+/g, " ");
+ key = key.replaceAll("+", " ");
+ value = value.replaceAll("+", " ");
47
}
48
49
// Optimization: Do not decode if it's not necessary.
0 commit comments