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 c8426c3 commit a02e73bCopy full SHA for a02e73b
1 file changed
lib/parse.js
@@ -70,11 +70,10 @@ function parse(input) {
70
// Check '+', and replace it with empty space.
71
else if (c === 43) {
72
hasPlus = true;
73
- } else {
74
- // Check '%' character for encoding
75
- if (c === 37) {
76
- shouldEncode = true;
77
- }
+ }
+ // Check '%' character for encoding
+ else if (c === 37) {
+ shouldEncode = true;
78
}
79
80
0 commit comments