pytest-check-links icon indicating copy to clipboard operation
pytest-check-links copied to clipboard

Fails when link contains parenthesis "(" or ")"

Open rt87 opened this issue 1 year ago • 0 comments

Description

The Link check fails if a parenthesis symbol, i.e. "(" or ")", is part of the URL.

Reproduce

e.g. try:

https://en.wikipedia.org/wiki/Cohesion_(computer_science)

Currently, this will be recognised as "https://en.wikipedia.org/wiki/Cohesion_", which then of course fails!

Expected behavior

Correct parsing of Link, probably will need some parenthesis-tracking or similar.

Context

Probably all versions & platforms

rt87 avatar Jun 21 '24 09:06 rt87