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.

Route params with special characters

See original GitHub issue

There’s a way to pass attributes with some special caracters as params in routes? Something like “sl_bill.CD.PLP.100.2011”.

We use this format to our ids, but when I try to pass it as param I get an error.

Our route: <Route path="/bill/:id" Component={Bill}>

The url will be something like this: localhost/bill/sl_bill.CD.PLP.100.2011

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
taioncommented, Jan 24, 2018

That error looks like it’s coming from webpack dev server, no?

0reactions
caioflorescommented, Jan 24, 2018

It was a webpack problem guys, sry!

I found it here: https://github.com/webpack/webpack-dev-server/issues/454

I’ll close the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Characters allowed in GET parameter - Stack Overflow
Only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL. The ...
Read more >
About Routing with Express. We look at special characters ...
Some characters in string paths like ? , + , or * are special characters for paths with optional characters or wildcards. Placeholders...
Read more >
Allowing Angular 4 Routes To Pass Special Characters In Url
Starter project for Angular apps that exports to the Angular CLI.
Read more >
How to route get parameter special characters like * < >
How to route get parameter special characters like * < >. Route::get('/{nombre}', 'ArticuloController@show')->name('articulo');. ejemplo.test/dgdg*.
Read more >
useRouter unable to fetch query params with special characters
useRouter unable to fetch query params with special characters. ... I was using useRouter to get the query params. Url example:
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