mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[commons] refactoring: removing symbols that are previously removed from inputs
This commit is contained in:
@@ -5,7 +5,7 @@ from datetime import datetime
|
||||
from logging import Logger
|
||||
from typing import Optional, Union
|
||||
|
||||
re_command_forbidden_symbols = re.compile(r'[\'\"%$#*<>|&]')
|
||||
re_command_forbidden_symbols = re.compile(r'[\'\"%$#*<>]')
|
||||
re_several_spaces = re.compile(r'\s+')
|
||||
re_command_parameter = re.compile(r'(^|\s)-+\w+')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user