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.

Edge case request - ability to opt out of urlencoding

See original GitHub issue

https://www.redfin.com/city/30818/TX/Austin/filter/min-price=100k,max-price=325k

I am building something that updates the state of the url based on a set of filters, Redfin’s site is almost an exact match to my intended effect. The last ‘route’ portion is the /filter/ and everything after that are a series of filters that we are parsing and can be in any combination or order

Do you have a suggestion for how I can achieve this with next-routes? We are already using it but the problem is everything after filter/ gets urlencoded which produces some very ugly urls.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:6

github_iconTop GitHub Comments

1reaction
DonStanislascommented, Jul 14, 2019

+1

1reaction
HeyHugocommented, Sep 28, 2018

Ah you’re right. I didn’t check so carefully and assumed it was using the Router.push / Router.replace of nextjs which I found was using the url package.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I stop the browser from url-encoding form values on ...
In the form I need to pass the URL of a CSS file but it is encoding it to http%3A%2F%2Fwww... etc. Is there...
Read more >
Solved: application/x-www-form-urlencoded content type err...
application/x-www-form-urlencoded content type error using when a HTTP request is ... Basically I'm selecting the data.json value in the formdata array.
Read more >
Apigee URL encoding issue - Google Cloud Community
I've got an issue with encoding. The issue is that when an email with + is added as queryparam in AssignMessage, Apigee encodes...
Read more >
Url encoding of backtick ("`") character in query strings #1367
I have a query string that includes a backtick character in it, ... to add another 3rd party parser just to support such...
Read more >
URL encoding slash character ('/') and Apache web servers
For more options, visit https://groups.google.com/d/optout. --. Rob Sanderson ... And there are still edge cases where it could give the wrong response.
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