[ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
This follows the same approach as https://github.com/unjs/nitro/pull/1459, replacing the decodeURI with decodePath from ufo. This means that an invalid path will no longer throw an error but instead use the undecoded text.
๐ Linked issue
2657
โ Type of change
๐ Description
This follows the same approach as https://github.com/unjs/nitro/pull/1459, replacing the
decodeURI
withdecodePath
fromufo
. This means that an invalid path will no longer throw an error but instead use the undecoded text.๐ Checklist