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

Don't escape URL encoded values before routing. #378

Closed
wants to merge 1 commit into from

Conversation

sam-peach
Copy link

@sam-peach sam-peach commented Jan 26, 2024

The current router will treat URL encoded slashes (%2F) as unescaped values. For example, it would look at foo%2Fbar as foo/bar, meaning that any %2F value will break the URL.

We've added the option to toggle and allow raw URLs to be passed through the router without unescaping.

All tests passing. This will be testing on staging before committing.
image

The current router will treat URL encoded slashes (%2F) as unescaped values.
For example, it would look at `foo%2Fbar` as `foo/bar`, meaning that any %2F value will break the URL.

We've added the option to toggle and allow raw URLs to be passed through the router without unescaping.
@sam-peach sam-peach closed this Jan 26, 2024
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

Successfully merging this pull request may close these issues.

1 participant