forked from mirror/gitea
2242a9f82e
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 |
||
---|---|---|
.. | ||
auth | ||
avatar | ||
base | ||
cache | ||
context | ||
cron | ||
generate | ||
git | ||
gzip | ||
highlight | ||
httplib | ||
indexer | ||
lfs | ||
log | ||
mailer | ||
markup | ||
metrics | ||
minwinsvc | ||
notification | ||
options | ||
pprof | ||
private | ||
process | ||
public | ||
recaptcha | ||
search | ||
secret | ||
setting | ||
ssh | ||
structs | ||
sync | ||
templates | ||
test | ||
uploader | ||
user | ||
util | ||
validation |