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

Feature request: a way to define which characters shouldn't get escaped/encoded #6

Open
veqryn opened this issue Feb 22, 2018 · 0 comments

Comments

@veqryn
Copy link

veqryn commented Feb 22, 2018

This library hard codes the "unsafe" characters as:

my $unsafe = '^A-Za-z0-9\-\._' . $safe;

Then it allows you to add the following as additional safe characters, if you have + in your template key: ```perl
my $RESERVED = q(:/?#[]@!$&'()*+,;=);


In some situations I wish to add `~` to the safe list, but no other characters.  
In other situations I also want to add `/` to the safe list.  
In most cases, I do not want the full reserved list.

Feature request: a way to define which characters shouldn't get escaped/encoded
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