-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
querystring made more consistent with Fastly #258
base: main
Are you sure you want to change the base?
Conversation
akrainiouk
commented
Feb 15, 2024
•
edited
Loading
edited
- falco implementation of querystring does not urlencode query parameter names which can produce invalid urls
- Also falco implementation encodes space character with '+' which is inconsistent with Fastly. Fastly use %20 for space encoding.
…encode space with '%20' rather then '+'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Fixing consistency issues with Fastly behavior is appreciated.
Did a bit of looking at the details of how Fastly handles query escapes with the For example the following will log log querystring.set("/?a=b+c", "b", "c d"); Fiddle with a few more examples: https://fiddle.fastly.dev/fiddle/e019c129 If you're up to tackling investigating this further and incorporating the needed changes to the PR that would be great. If not we can create an issue to track the remaining work. |
Hi Richard,
returns
and not
as one might expect. |