req.query does not handle query parts containing equals sign (=)
See original GitHub issueIf url is www.example.com?q=a?b=c
req.query is { 'q': 'a?b' }
but expected req.query is { 'q': 'a?b=c' }
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Unable to compare String from query parameter in nodejs
I was actually comparing "Dan" with ""Dan"" (query String). If I change my query string to name=Dan it works just fine.
Read more >What's the difference between req.params and req.query?
From my understanding of routes, req. query is not a part of the route path, they only contain new information to be added...
Read more >Query string - Wikipedia
The query string is composed of a series of field-value pairs. · Within each pair, the field name and value are separated by...
Read more >Use parameters to ask for input when running a query
To make a query in Access desktop databases ask for criteria when you run it, create a parameter query. This allows you to...
Read more >Perform simple and compound queries in Cloud Firestore
Example data; Simple queries. Execute a query. Query operators. Not equal (!=); Array membership; in, not-in, and array-contains-any.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm… I’m not sure I get my point either 😅 sorry, wasn’t feeling great this weekend.
Going to take another look
Ah gotcha, no worries!