URL detection: Allow trailing asterisks in URLs

Fixes #9543
This commit is contained in:
Kovid Goyal
2026-02-23 07:54:47 +05:30
parent 1df89d9448
commit 8df80afa79
3 changed files with 6 additions and 1 deletions

View File

@@ -1711,3 +1711,4 @@ def detect_url(self, scale=1):
t('http://[::1]:8080/x', after='[') # ]
t('http://[::1]:8080/x]y34', expected='http://[::1]:8080/x')
t('https://wraps-by-one-char.com[]/x', after='[') # ]
t('https://t.me/#1_*_*_*_*')