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

.md getting appended while using alias #1854

Open
1 task
SumithChandran opened this issue Aug 11, 2022 · 5 comments · May be fixed by #1855
Open
1 task

.md getting appended while using alias #1854

SumithChandran opened this issue Aug 11, 2022 · 5 comments · May be fixed by #1855

Comments

@SumithChandran
Copy link

Bug Report

Steps to reproduce

Hi
I am trying to use alias to resolve the files in other repo. While doing that I need to add to token to get access.
'/changlog':'https://some/raw/url/README.md?token=Mytoken,

When I try to have the above alias, the value is getting resolved to https://some/raw/url/README.md?token= Mytoken.md.

The result is suffixing with ".md" .
Please help me resolve this issue.

What is current behaviour

https://some/raw/url/README.md?token= Mytoken.md
.md gets appended at the end of token url while using alias

What is the expected behaviour

https://some/raw/url/README.md?token= Mytoken

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS:

  • Node.js version:

  • npm/yarn version:

  • Browser version:

  • Docsify version:

  • Docsify plugins:

Please create a reproducible sandbox

Here are files to reproduce the issue
test with vs code

Mention the docsify version in which this bug was not present (if any)

@trusktr
Copy link
Member

trusktr commented Aug 11, 2022

Does '/changlog.md': 'https://some/raw/url/README.md?token=Mytoken work?

@SumithChandran
Copy link
Author

SumithChandran commented Aug 11, 2022

Does '/changlog.md': 'https://some/raw/url/README.md?token=Mytoken work?

No its not working.
image

.md is appending.

@trusktr
Copy link
Member

trusktr commented Aug 11, 2022

Looks like a bug. Do you have a link we can use to debug?

@SumithChandran
Copy link
Author

I have attached all the files I used to test in this bug report.
https://github.com/docsifyjs/docsify/files/9308204/ezyzip.zip

I have used raw link from my on repo for testing.

@sy-records sy-records linked a pull request Aug 12, 2022 that will close this issue
9 tasks
@vergilcw
Copy link

Hi @trusktr and @sy-records, I have the same issue as the OP. Merging this PR would be a big help, thanks for taking a look!

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 a pull request may close this issue.

3 participants