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

handle pcnt-encoded names in templates #2

Open
marc-portier opened this issue Sep 29, 2011 · 0 comments
Open

handle pcnt-encoded names in templates #2

marc-portier opened this issue Sep 29, 2011 · 0 comments

Comments

@marc-portier
Copy link
Owner

Between 0.5 and 0.6 there was some change in how this should be handled.

The inserted snippet is:

A varname MAY contain one or more pct-encoded triplets. These
triplets are considered an essential part of the variable name and
are not decoded during processing. A varname containing pct-encoded
characters is not the same variable as a varname with those same
characters decoded. Applications that provide URI Templates are
expected to be consistent in their use of pct-encoding within
variable names.

The task is to understand this, translate it into (updated) tests and then change the implementation accordingly.

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