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

hot-fix: update page edit path logic [Fixes #11994] #12089

Merged
merged 2 commits into from
Feb 2, 2024
Merged

Conversation

wackerow
Copy link
Member

@wackerow wackerow commented Feb 1, 2024

Description

Updates construction of the "edit path" url to use new URL() when adding the base path. Current production uses join which collapses the repeated slashes in https:// and causes broken paths.

Related Issue

Copy link

netlify bot commented Feb 1, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 3bdf815
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/65bc1c7c5973bd000795d757
😎 Deploy Preview https://deploy-preview-12089--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

corwintines
corwintines previously approved these changes Feb 1, 2024
Copy link
Member

@nhsz nhsz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, small suggestion on the return value

Copy link
Member

@nhsz nhsz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@corwintines corwintines merged commit 9625492 into master Feb 2, 2024
6 checks passed
@corwintines corwintines deleted the fix-edit-path branch February 2, 2024 00:06
This was referenced Feb 14, 2024
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.

3 participants