See for instance tcort/markdown-link-check#155
User is looking to check https://en.wikipedia.org/wiki/%3F:
But the ? sign is then decoded by link-check and not reencoded as it's a legit char for a url but that have a specific meaning of being the param part start. So https://en.wikipedia.org/wiki/%3F: becomes https://en.wikipedia.org/wiki/?: meaning https://en.wikipedia.org/wiki/ with parameter :.
We need to find a way to deal with encoded chars without all these issues. There's already a lot of tests for some specific cases in the test suite. They have to continue to work, but for now the risk is to have a pile of specific cases. Finding a generic way to deal with this would be nice.
See for instance tcort/markdown-link-check#155
User is looking to check
https://en.wikipedia.org/wiki/%3F:But the
?sign is then decoded by link-check and not reencoded as it's a legit char for a url but that have a specific meaning of being the param part start. Sohttps://en.wikipedia.org/wiki/%3F:becomeshttps://en.wikipedia.org/wiki/?:meaninghttps://en.wikipedia.org/wiki/with parameter:.We need to find a way to deal with encoded chars without all these issues. There's already a lot of tests for some specific cases in the test suite. They have to continue to work, but for now the risk is to have a pile of specific cases. Finding a generic way to deal with this would be nice.