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

Server does not add trailing slashes #9559

Open
ThorMutoAsmund opened this issue Jun 19, 2024 · 0 comments
Open

Server does not add trailing slashes #9559

ThorMutoAsmund opened this issue Jun 19, 2024 · 0 comments

Comments

@ThorMutoAsmund
Copy link

Describe the bug
Currently the server does not add trailing slashes to URLs. This means that creating a hyperlink relative to the current page will not work.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a competition page, e.g. https://www.worldcubeassociation.org/competitions/FTOstervang2024
  2. Click on the 'Important for all competitors!' tab
  3. The second link on that page that says 'Du kan[ tilmelde dig her]' has the following URL "/competitions/FTOstervang2024/register/"
  4. Replacing that URL with just "register" will not go to the registration page. If the server redirected all pages without trailing slash to the same URL but with a trailing slash, simply having "register" as the URL would work

Expected behavior
When on a base competition page, I would expect the URL "register" to go to the registration page of that competition

Fix
Introduce the appropriate redirect rule on the webserver

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 125.0.6422.142
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

No branches or pull requests

1 participant