%23 in URL interpreted as #
Steps:
- Create a file test.md with only this content: https://github.com/atinfo/awesome-test-automation/blob/master/c%23-test-automation.md
- Run markdown-link-check test.md
Expected:
- No failure, because site exists and is online
Actual:
ERROR: 1 dead links found!
- I think, the %23 is interpreted as the # character and the link checker tries to reach https://github.com/atinfo/awesome-test-automation/blob/master/c, which fails.
I noticed a similar problem for %2F (i.e. /), giving an error on the link below. Possibly same root cause, that the %2F is not kept but replaced.
https://github.com/eclipse-kuksa/kuksa-python-sdk/pkgs/container/kuksa-python-sdk%2Fkuksa-client
I think the underlying issue here is https://github.com/tcort/link-check/issues/45 - discovered this myself earlier and it puts me off what is otherwise a very useful tool
This issue has been marked as stale because it has been open 60 days with no activity. It will be closed in 30 days unless the stale label is removed or someone adds a comment.
comment
This issue has been marked as stale because it has been open 60 days with no activity. It will be closed in 30 days unless the stale label is removed or someone adds a comment.
comment
I was able to reproduce this in the current version 3.13.7, @tcort.