mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #50873 from Ch3LL/bp-50740
Backport #50740 to 2017.7
This commit is contained in:
commit
e7f0ab6f19
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ def valid_id(opts, id_):
|
|||
if any(x in id_ for x in ('/', '\\', '\0')):
|
||||
return False
|
||||
return bool(clean_path(opts['pki_dir'], id_))
|
||||
except (AttributeError, KeyError, TypeError):
|
||||
except (AttributeError, KeyError, TypeError, UnicodeDecodeError):
|
||||
return False
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue