Steps to reproduce
- Create and publish a page with a permalink specified in the frontmatter.
- Open the page on the web. It should be redirected to permalink URL.
- Add a trailing slash to the URL and try to open the resulting URL.
Expected result
The link should open normally as if it was without a trailing slash.
Actual result
404 not found
Additional information
Normal URLs and aliases specified in the frontmatter work fine with trailing slashes.
E.g., there is a page “About Me” published on Obsidian Publish site “site” with the following frontmatter:
alias: Stuff
permalink: about
All of these URLs will work:
https://publish.obsidian.md/site/about
https://publish.obsidian.md/site/About+Me
https://publish.obsidian.md/site/About+Me/
https://publish.obsidian.md/site/Stuff
https://publish.obsidian.md/site/Stuff/
However, https://publish.obsidian.md/site/about/
will result in 404.