Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(joinRelativeURL): avoid lookbehind regex for browser compatibility #228

Merged
merged 4 commits into from
Mar 20, 2024

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Mar 20, 2024

Related to #224, nuxt/nuxt#26393

This PR updates joinRelativeURL logic to avoid look behind regex syntax for safari <= 16.3 compatibility and instead, manually check proto:// edge case.

@pi0 pi0 marked this pull request as draft March 20, 2024 11:10
@pi0 pi0 marked this pull request as ready for review March 20, 2024 11:26
@pi0 pi0 changed the title fix(joinRelativeURL): avoid regex for browser compatibility fix(joinRelativeURL): avoid lookbehind regex for browser compatibility Mar 20, 2024
@pi0 pi0 merged commit 9713f2f into main Mar 20, 2024
2 checks passed
@pi0 pi0 deleted the fix/relative-lookbehind branch March 20, 2024 11:30
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