diff --git a/libraries/entropy/tools.py b/libraries/entropy/tools.py index 14e2d56ba..3c5a3b4c8 100644 --- a/libraries/entropy/tools.py +++ b/libraries/entropy/tools.py @@ -2560,7 +2560,7 @@ valid_path_regexp = re.compile("^([A-Za-z0-9/\.:-]+)$") def is_valid_path_string(path): """ Return whether given path is a valid path string (whitelisting valid - characters). Regexp is ^([A-Za-z0-9/\.:]+)$ and only works with ASCII + characters). Regexp is ^([A-Za-z0-9/\.:-]+)$ and only works with ASCII paths. @param path: path to test