mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix the BAD_PATTERN regex
This commit is contained in:
parent
21f308f074
commit
42cab5e943
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue