From 7c0eb9304306633bb04415654af2cc0823e0850e Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Tue, 3 May 2022 11:26:36 -0300 Subject: [PATCH] [commons] refactoring: removing symbols that are previously removed from inputs --- bauh/commons/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/commons/util.py b/bauh/commons/util.py index a8e6e8df..9a8c5627 100644 --- a/bauh/commons/util.py +++ b/bauh/commons/util.py @@ -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+')