Skip to content

fix: relax redirects validation - #5348

Merged
TrySound merged 1 commit into
mainfrom
redirects
Aug 3, 2025
Merged

fix: relax redirects validation#5348
TrySound merged 1 commit into
mainfrom
redirects

Conversation

@TrySound

@TrySound TrySound commented Aug 3, 2025

Copy link
Copy Markdown
Contributor

Fixes #5337

  1. checking specific characters will always be error prone
  2. checking matching paths is no longer relevant with /* which matches them all
  3. added check to validate url or path with new URL()

Fixes #5337

1. checking specific characters will always be error prone
2. checking matching paths is no longer relevant with `/*` which matches
   them all
3. added check to validate url or path with `new URL()`
@TrySound
TrySound merged commit fc03300 into main Aug 3, 2025
17 checks passed
@TrySound
TrySound deleted the redirects branch August 3, 2025 12:11
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.

Redirects don't allow questionmark

2 participants