-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Markdown file name with the ? suffix. #1856
Comments
FYI. On hash mode. We slice the docsify/src/core/router/history/hash.js Line 91 in 3c9b3d9
const queryIndex = path.indexOf('?');
if (queryIndex >= 0) {
query = path.slice(queryIndex 1);
path = path.slice(0, queryIndex);
}
return {
path,
file: this.getFile(path, true),
query: parseQuery(query),
}; Beside, the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Steps to reproduce
Based on the official doc, made a file name
deploy?.md
.Add route in sidebar.
What is current behaviour
The path changes to
/deploy
without?
. and get 404 back.What is the expected behaviour
Should find the right path to load file.
Other relevant information
Bug does still occur when all/other plugins are disabled?
Your OS: macOS monterey.
Node.js version:
npm/yarn version:
Browser version:
Docsify version: latest
Docsify plugins:
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
The text was updated successfully, but these errors were encountered: