-
-
Notifications
You must be signed in to change notification settings - Fork 119
Set to do not escape unreserved characters #41
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
Conversation
Following this RFC standard: http://tools.ietf.org/html/rfc2396#section-2.3 Signed-off-by: Carlos Oliveira <carlospecter@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Signed-off-by: Carlos Oliveira <carlospecter@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Cool! Tests should be implemented on |
Yeah, but we thought that since the changes we made were on |
Nginx currently ONLY escape: Currently we are doing to none of those. I'm working on finding a good set of chars. |
So, the best approach will be defining another charset instead of the unreserved ones that might cover both cases? |
@carloshfoliveira the best approach is the one you used. ;) I'm just concerned about which strings we should consider to be safe. |
@carloshfoliveira let's go for nginx implementation. Instead of defining the unreserved inside the class it's better to create a constant
This is basically string.punctuation without You can also use this link as reference instead of the RFC: https://github.com/nginx/nginx/blob/nginx-1.9/src/core/ngx_string.c#L1433-L1449 |
Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com> Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
1 similar comment
Set to do not escape unreserved characters
No description provided.