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: Browse page links multi slashes #873

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

Bilelkihal
Copy link
Collaborator

@Bilelkihal Bilelkihal commented Nov 26, 2024

Changes

  • The bug was introduced by a function that converts API links into UI links. This function added /each time it does. So we got double slashes in the link (2c1d38b)
  • Ensure trailing slash in federation portals ui and api links (07f3c15)

@Bilelkihal Bilelkihal self-assigned this Nov 26, 2024
Copy link
Collaborator Author

@Bilelkihal Bilelkihal left a comment

Choose a reason for hiding this comment

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

Copy link
Collaborator

@syphax-bouazzouni syphax-bouazzouni left a comment

Choose a reason for hiding this comment

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

Enforce the wanted behavior in code not in config. e.g check if last slash existent ,if not add it in code.

@syphax-bouazzouni syphax-bouazzouni merged commit e9bf264 into development Nov 26, 2024
3 of 4 checks passed
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.

2 participants