Browse Source
Improve SHA1 link detection (#6526)
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/3release/v1.9
committed by
Lauris BH
2 changed files with 36 additions and 21 deletions
Write
Preview
Loading…
Cancel
Save
Reference in new issue