Open UnlimitedCookies opened 2 weeks ago
(this is probably an upstream bug, but I am unsure where to report upstream)
It seems like matrix is using non-compliant URIs (https://github.com/matrix-org/matrix.to/issues/17)
Is there a way to remove this one error (like writing an <-- #[allow(InvalidUrlException)] -->
in the line above)?
If matrix uses non-compliant URIs, there nothing to do currently.
Good news though, Hakyll considers URIs to be strings at first, which are then parsed. If someone was really keen on supporting matrix URIs, then Hakyll could be extended to either:
Personally, I am much more partial to solution 1 (handling matrix URIs in a special case). It seems the least disruptive and the most in-keeping with the spirit of ensuring live links.
I am happy to review pull requests.
In the meantime, you can skip checking of external uris using the mysite check --internal-links
command.
Hi @LaurentRDC, Can I please work on this ?
Of course, go ahead
I am unsure whether they are valid URIs, but the check fails for links like
https://matrix.to/#/#roomname:matrix.my-cool-server.com
with anInvalidUrlException
.