Answer the question
In order to leave comments, you need to log in
+ sign in url.parse?
for example, there is a line
/?test=1&test1=+
execute in node.js
> url.parse('/?test=1&test1=+', true).query
{ test: '1', test1: ' ' }
Answer the question
In order to leave comments, you need to log in
So in JS, the plus sign seems to be a sign for gluing strings, so for example, when adding two strings, they have to be cast to the Number type, but for example, when subtracting, everything is fine. Just don't use plus in such queries
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question