mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-26 03:59:01 +01:00
This improves the SHA1 link detection to not pick up extraneous non-whitespace characters at the end of the URL. The '.' is a special case handled in code itself because of missing regexp lookahead support. Regex test cases: https://regex101.com/r/xUMlqh/3