Skip to content

fix: safe decode malformed URI route params#7500

Open
deepshekhardas wants to merge 1 commit into
refinedev:mainfrom
deepshekhardas:fix/safe-route-id-decoding
Open

fix: safe decode malformed URI route params#7500
deepshekhardas wants to merge 1 commit into
refinedev:mainfrom
deepshekhardas:fix/safe-route-id-decoding

Conversation

@deepshekhardas

Copy link
Copy Markdown

Adds \safeDecodeURIComponent\ wrapper with try-catch to prevent crashes from malformed URI-encoded route params across handleUseParams, react-router and remix-router.

Fixes #7474

@changeset-bot

changeset-bot Bot commented Jul 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 337668d

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

This PR includes changesets to release 3 packages
Name Type
@refinedev/core Patch
@refinedev/react-router Patch
@refinedev/remix-router Patch

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

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