Skip to content

fix: handle redirects for paths and files with terminating slashes 🌋#717

Draft
mcdurdin wants to merge 1 commit intofix/search-jsonfrom
fix/redirects-for-paths
Draft

fix: handle redirects for paths and files with terminating slashes 🌋#717
mcdurdin wants to merge 1 commit intofix/search-jsonfrom
fix/redirects-for-paths

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

Remove the / from a path if it refers to a file, and add a / if the path refers to a folder (implicit index.md/index.php).

Clean up keyboard search which had some assumptions about not including the / but that doesn't make sense with this pattern.

Test-bot: skip

@keymanapp-test-bot
Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot Bot changed the title fix: handle redirects for paths and files with terminating slashes fix: handle redirects for paths and files with terminating slashes 🌋 Apr 30, 2026
@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S28 milestone Apr 30, 2026
@github-actions github-actions Bot added the fix label Apr 30, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Keyman Apr 30, 2026
@mcdurdin mcdurdin force-pushed the fix/redirects-for-paths branch 2 times, most recently from 22d3d59 to 95b97ef Compare April 30, 2026 14:37
Remove the `/` from a path if it refers to a file, and add a `/` if the
path refers to a folder (implicit index.md/index.php).

Clean up keyboard search which had some assumptions about not including
the `/` but that doesn't make sense with this pattern.

Test-bot: skip
@mcdurdin mcdurdin force-pushed the fix/redirects-for-paths branch from 95b97ef to 3471e04 Compare April 30, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants