Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding decodeUri to toString() #59

Open
odroz opened this issue Jan 7, 2016 · 0 comments
Open

Adding decodeUri to toString() #59

odroz opened this issue Jan 7, 2016 · 0 comments

Comments

@odroz
Copy link

odroz commented Jan 7, 2016

Hi,
I may havea special case, but I'm using Uri.js to generate url for merge tags for news letters.
For example, with mailchimp, I return something like: http://mywebsite.com/?param=*|EMAIL|*
And I got %7CEMAIL%7C instead of |EMAIL|.

I suggest to change line to 435 to return decodeURI(s); instead of return s;
Worked for me ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant