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.

uri encoding with plus sign

See original GitHub issue

vue-router 0.7.13 vue 1.0.28

this.$router.go('/production?tab=1&recipe='+recname);

spaces in recname gets correctly encoded to %20 but plus sign stays untouched (should be %2B)

so recname

DM USZCZ

becomes

DM%20USZCZ

but

DM + USZCZ

becomes

DM%20+%20USZCZ

instead of

DM%20%2B%20USZCZ

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
acidjazzcommented, Dec 13, 2017

@posva @lukpep any update on this? any workaround?

0reactions
posvacommented, Dec 13, 2017

Unfortunately no. Note this is a version 1 issue, though

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML URL Encoding Reference - W3Schools
Character From Windows‑1252 From UTF‑8 space %20 %20 ! %21 %21 " %22 %22
Read more >
How to Pass a Plus Sign to a URL? - CodeProject
Plus in a url means space character. You can use "%2B" instead of a plus sign in urls. An here is an online...
Read more >
URL Encoding of Special Characters - N-able
No information is available for this page.
Read more >
URL-Encoding of "plus" - Online
Encode plus to URL-encoded format with various advanced options. ... The digits, preceded by a percent sign ("%"), are then used in the...
Read more >
URL Encoding | Google Maps Platform
All characters to be URL-encoded are encoded using a '%' character and a two-character hex value corresponding to their UTF-8 character. For 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