Fix BAD_PATTERN regex in deeplinking process. (#1630)

* add test payload in `test_deep_linking` to demonstrate the bug

* fix the `BAD_PATTERN` regex

* add changes file
This commit is contained in:
AmirSoroush 2025-01-17 02:35:23 +03:00 committed by GitHub
parent a516b7f03f
commit bbdc43b737
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View file

@ -10,12 +10,14 @@ PAYLOADS = [
"aaBBccDDeeFF5544332211",
-12345678901234567890,
12345678901234567890,
"underscore_and-dash",
]
WRONG_PAYLOADS = [
"@BotFather",
"Some:special$characters#=",
"spaces spaces spaces",
1234567890123456789.0,
"has`backtick",
]