question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

req.query does not handle query parts containing equals sign (=)

See original GitHub issue

If 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:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lukeedcommented, Jan 13, 2020

Hmm… I’m not sure I get my point either 😅 sorry, wasn’t feeling great this weekend.

Going to take another look

0reactions
lukeedcommented, Jan 13, 2020

Ah gotcha, no worries!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found