Skip to content

fix urijs fragment handling incompatibility#93

Merged
gurgunday merged 5 commits intofastify:mainfrom
gurgunday:fix-compat
Jun 27, 2024
Merged

fix urijs fragment handling incompatibility#93
gurgunday merged 5 commits intofastify:mainfrom
gurgunday:fix-compat

Conversation

@gurgunday
Copy link
Member

@gurgunday gurgunday commented Jun 26, 2024

This fixes the fragment issue that breaks the Ajv integration

The reason for this one is just not fun... caused mainly by uri-js's different encoding and decoding mechanism when the fragment is not a valid URI part

We can trace it back to here: https://github.com/fastify/fast-uri/pull/23/files#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346R280

@gurgunday gurgunday requested review from a team, mcollina and zekth June 26, 2024 12:38
@gurgunday gurgunday merged commit b16b747 into fastify:main Jun 27, 2024
@gurgunday gurgunday deleted the fix-compat branch June 27, 2024 07: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