Improve configuration metadata validation logic
This commit is contained in:
parent
8baf0cf4da
commit
b80416515f
1 changed files with 1 additions and 1 deletions
|
@ -121,4 +121,4 @@ class SessionProfile(BaseProfile):
|
|||
match = re.match(r'^# {} = (.*)$'.format(re.escape(key)), line)
|
||||
|
||||
if match:
|
||||
return re.sub(r'[^a-zA-Z0-9+\- /]', '', match.group(1).strip())
|
||||
return re.sub(r'[^a-zA-Z0-9+\-_ /]', '', match.group(1).strip())
|
||||
|
|
Loading…
Reference in a new issue