Github issue/pull/discussion fragments with a `?` at the end are ignored and raise a warning
URLs matched by the github link should not include question marks at the end of the url as that ends up raising an error. They should be removed and ignored.
The code where to perform this check is located around here: https://github.com/onerandomusername/monty-python/blob/01838a45780902d9347c7240e87865cfbc23463c/monty/exts/info/github_info.py#L801-L810
I can't think of a reason for a question mark to be there, is it really a common edge case for this?
Did a tiny bit of testing for this - it's worth mentioning that github also doesn't directly handle links like this, opening https://github.com/onerandomusername/monty-python/issues/320#issuecomment-2363522065? doesn't scroll to the comment, for instance. They do seem to account for it in their markdown parser though, since putting that link into a comment as-is looks like this:
https://github.com/onerandomusername/monty-python/issues/320#issuecomment-2363522065?
I haven't looked into this much, but it at least looks like they handle ?, !, ., and , and display them after the link, and it just eats other special chars like + or &. *shrug*