mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge branch 'aiogram:dev-3.x' into patch-1
This commit is contained in:
commit
73f0ff963f
6 changed files with 7 additions and 3 deletions
1
CHANGES/1630.bugfix.rst
Normal file
1
CHANGES/1630.bugfix.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix the regex pattern that finds the "bad characters" for deeplink payload.
|
||||
1
CHANGES/1631.misc.rst
Normal file
1
CHANGES/1631.misc.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Increased max :code:`redis` version support from “<5.1.0” to “<5.3.0”
|
||||
|
|
@ -18,7 +18,7 @@ from aiogram.utils.payload import decode_payload, encode_payload
|
|||
if TYPE_CHECKING:
|
||||
from aiogram import Bot
|
||||
|
||||
BAD_PATTERN = re.compile(r"[^A-z0-9-]")
|
||||
BAD_PATTERN = re.compile(r"[^a-zA-Z0-9-_]")
|
||||
|
||||
|
||||
async def create_start_link(
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ msgstr ""
|
|||
|
||||
#: ../../../README.rst:71
|
||||
msgid "If you have any questions, you can visit our community chats on Telegram:"
|
||||
msgstr "Якщо є якість додаткові запитання, ласкаво просимо до онлайн-спільнот:"
|
||||
msgstr "Якщо є додаткові запитання, ласкаво просимо до онлайн-спільнот:"
|
||||
|
||||
#: ../../../README.rst:73
|
||||
msgid "🇺🇸 `@aiogram <https://t.me/aiogram>`_"
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ fast = [
|
|||
"aiodns>=3.0.0",
|
||||
]
|
||||
redis = [
|
||||
"redis[hiredis]>=5.0.1,<5.1.0",
|
||||
"redis[hiredis]>=5.0.1,<5.3.0",
|
||||
]
|
||||
mongo = [
|
||||
"motor>=3.3.2,<3.7.0",
|
||||
|
|
|
|||
|
|
@ -10,12 +10,14 @@ PAYLOADS = [
|
|||
"aaBBccDDeeFF5544332211",
|
||||
-12345678901234567890,
|
||||
12345678901234567890,
|
||||
"underscore_and-dash",
|
||||
]
|
||||
WRONG_PAYLOADS = [
|
||||
"@BotFather",
|
||||
"Some:special$characters#=",
|
||||
"spaces spaces spaces",
|
||||
1234567890123456789.0,
|
||||
"has`backtick",
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue