Skip to content

Return 400 when a saved-case path is not valid percent-encoding - #78

Merged
EauDoon merged 1 commit into
mainfrom
cursor/gui-percent-encoding-5a98
Sep 28, 2026
Merged

EauDoon merged 1 commit into
mainfrom
cursor/gui-percent-encoding-5a98

Conversation

@EauDoon

@EauDoon EauDoon commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bundle, review, and saved-verification paths now treat a malformed percent-encoding as HTTP 400.
  • Those routes used to throw from decodeURIComponent and answer HTTP 500.

Test plan

  • npm test

decodeURIComponent threw on sequences such as %ZZ, and the GUI reported that as HTTP 500.
@EauDoon
EauDoon merged commit 3a6b9b9 into main Sep 28, 2026
9 checks passed
@EauDoon
EauDoon deleted the cursor/gui-percent-encoding-5a98 branch September 28, 2026 16:31
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.

2 participants