Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(core): double encoding during match of routes #13303

Merged
merged 5 commits into from
Feb 26, 2025
Merged

Conversation

ematipico
Copy link
Member

@ematipico ematipico commented Feb 24, 2025

Changes

Closes #13298

Testing

I ended up testing it locally. A test from the original issue can't be used because it contains characters that don't fit a URL, they throw an error.

Docs

N/A

Copy link

changeset-bot bot commented Feb 24, 2025

🦋 Changeset detected

Latest commit: 8503aac

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Feb 24, 2025
Copy link

codspeed-hq bot commented Feb 24, 2025

CodSpeed Performance Report

Merging #13303 will not alter performance

Comparing fix/double-decoding (8503aac) with main (2154ada)

Summary

✅ 6 untouched benchmarks

@florian-lefebvre
Copy link
Member

@ematipico tests do not pass

@ematipico
Copy link
Member Author

@florian-lefebvre I am aware of it, but please review the code

A double decoding error can't be tested because it creates a URL that can't be visited. I manually tested that the double encoding doesn't happen anymore
@ematipico ematipico merged commit 5f72a58 into main Feb 26, 2025
16 checks passed
@ematipico ematipico deleted the fix/double-decoding branch February 26, 2025 16:29
@astrobot-houston astrobot-houston mentioned this pull request Feb 26, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

decodeURI happening twice on a request causing server to crash
2 participants