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

fix: URL encoding issue (closes #2602) #2601

Merged
merged 2 commits into from
Jun 2, 2024
Merged

Conversation

luxalpa
Copy link
Contributor

@luxalpa luxalpa commented May 27, 2024

encode_uri does not encode URL critical characters like & and +, for that encode_uri_component must be used.
This also revelaed some issues with too much unescaping in several cases. Fixes #2602

@luxalpa luxalpa changed the title fix: URL encoding issue WIP: fix: URL encoding issue May 27, 2024
@luxalpa luxalpa changed the title WIP: fix: URL encoding issue fix: URL encoding issue May 27, 2024
@luxalpa luxalpa changed the title fix: URL encoding issue fix: URL encoding issue (closes #2602) May 30, 2024
@gbj
Copy link
Collaborator

gbj commented Jun 2, 2024

Awesome! Thank you so much.

@gbj gbj merged commit 2ef27cb into leptos-rs:main Jun 2, 2024
46 of 59 checks passed
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.

Query parameters are not properly escaped
2 participants