We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
special_back_slash
1 parent 6183749 commit ecb5980Copy full SHA for ecb5980
src/node_url.cc
@@ -932,7 +932,10 @@ void URL::Parse(const char* input,
932
url->flags &= ~URL_FLAGS_SPECIAL;
933
special = false;
934
}
935
- special_back_slash = (special && ch == '\\');
+ // `special_back_slash` equals to `(special && ch == '\\')` and `ch`
936
+ // here always not equals to `\\`. So `special_back_slash` here always
937
+ // equals to `false`.
938
+ special_back_slash = false;
939
buffer.clear();
940
if (has_state_override)
941
return;
0 commit comments