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

[BUG] Some links are reported as 404 in AsciiDoc. #90

Open
afalhambra-hivemq opened this issue Oct 21, 2024 · 0 comments
Open

[BUG] Some links are reported as 404 in AsciiDoc. #90

afalhambra-hivemq opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@afalhambra-hivemq
Copy link

Describe the bug
There are some special cases where some links are reported as 404. For example those AsciiDoc containing links ending with an special character. It most likely seems to be the problem is when parsing these links. Some of these examples are:

  • https://en.wikipedia.org/wiki/XML_Schema_(W3C) - Reported as 404, most likely because of the character at the end ).
  • . Now you can start and stop runs on your local machine (see https://hivemq.github.io/mqtt-cli/docs/swarm/): - Link here is reported as 404, most likely because of the characters at the end /).
  • https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.30/mysql-connector-java-8.0.30.jar'. Reported as 404, again most likely because of the character at the end '

To Reproduce
Steps to reproduce the behavior:

  1. Create folder called docs and a adoc file inside containing one of the links shown in the description above of this PR
  2. Create a config file named linkspector.yml with the following content:
dirs:
  - ./docs
fileExtensions:
  - adoc
useGitIgnore: true
  1. Run linkspector check -c linkspector.yml
  2. See errors shown

Expected behavior
No errors or dead links are shown

@afalhambra-hivemq afalhambra-hivemq added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant