URLs 404 when given a trailing slash /
See original GitHub issueBug Report
Steps to reproduce
Go to any page path and add a trailing slash /
to the end
Example: /#/hello/
What is current behaviour
The page apth /#/hello/
will 404
What is the expected behaviour
That the page requested is shown and works the same as /#/hello
Other relevant information
No
-
Bug does still occur when all/other plugins are disabled?
-
Your OS: Windows 10
-
Node.js version: 8.11.3
-
npm/yarn version: 5.6.0
-
Browser version: Chrome Version 79.0.3945.130
-
Docsify version: latest unpkg (4.10.2)
-
Docsify plugins: search
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:14 (9 by maintainers)
Top Results From Across the Web
PM34409: Trailing slash in URL results in HTTP 404 - IBM
HTTP requests that refer to a friendly URL that contains a trailing slash (/) result in status code 404. Problem conclusion. Trailing slashes...
Read more >Trailing slash added to user-defined URL > 404 on file links
It seems that The Event Calendar adds trailing slashes to user-defined event URLs, which causes 404 errors when linking to a pdf, for...
Read more >Trailing Slash added to Site giving 404 error - Google Support
The moment I published the site gives me a 404 error. The sharing permissions are correct but Google adds a trailing slash to...
Read more >add trailing slash to 404 url so it can be redirected
If all of your URLs end in a trailing slash, then one way to address this is to redirect those that do not...
Read more >Should You Have a Trailing Slash at the End of URLs? - Ahrefs
In most cases, if you add a trailing slash to a file such as .html, .php, .js, .css, .pdf, .jpg, etc., it won't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think we can default to
README.md
by matter of the existing conventions, and we can also fall back toindex.md
ifREADME.md
is not found. Thoughts? *#!/*JoePeaOn Mon, Jun 8, 2020 at 11:42 AM Kosala Nuwan Perera < notifications@github.com> wrote:
In GitHub Pages, isn’t README.md is the index.html or default.html behavior? I mean it would make more sense to have a README.md as a convention.