Skip to content

Performing encodeURIComponent or escape methods will end with a bigger string #19

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

Open
jalbam opened this issue Sep 12, 2018 · 0 comments

Comments

@jalbam
Copy link

jalbam commented Sep 12, 2018

Hello,

Thank you very much for this library. It is very good.

Is there any possibility to use ., *, - or _ symbols instead of using the current (, ), etc. symbols?

This way we could use the string directly in a URL parameter (query) after performing encodeURIComponent (or escape) without being afraid that the string will become much bigger as many characters will be escaped. Currently, as it uses symbols like ( and ), they will be escaped by these two methods. The ., *, - and _ symbols are never escaped by these two methods.

Best regards,
Joan

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

No branches or pull requests

1 participant