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 bug in language switcher due to lack of trailing slash in base URL #391

Merged

Conversation

CAM-Gerlach
Copy link
Member

Pull Request

Pull Request Checklist

  • Read and followed this repo's Contributing Guidelines
  • Based your PR on the latest version of the correct branch (master or 4.x)
  • Checked your writing carefully for correct English spelling, grammar, etc
  • Described your changes and the motivation for them below

Description of Changes

During real-world deployed web testing, we discovered a bug in the language switcher URLs on subpages that was not caught in local filesystem testing: a missing trailing slash in the base URL, leading to the main page being displayed instead of subpages. This PR fixes it.

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for spyder-docs-preview ready!

Name Link
🔨 Latest commit c01c39a
🔍 Latest deploy log https://app.netlify.com/sites/spyder-docs-preview/deploys/6746396b86039b0008209010
😎 Deploy Preview https://deploy-preview-391--spyder-docs-preview.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.

Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks @CAM-Gerlach!

@CAM-Gerlach CAM-Gerlach merged commit 98004cb into spyder-ide:master Nov 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants