1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 17:17:19 +00:00
Files
gitea/modules/markup
silverwind 2242a9f82e Improve SHA1 link detection (#6526)
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
2019-04-06 21:28:45 +03:00
..
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2019-04-06 21:28:45 +03:00
2019-01-14 14:15:06 -05:00
2019-04-02 08:48:31 +01:00