Skip to content
Snippets Groups Projects

Replace "/" in param-name with "_" during sanitizing

Merged EorlBruder requested to merge EorlBruder/cli:fix-17 into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -83,6 +83,8 @@ def sanitize_recursive(value):
else:
if value and str(value).startswith("/"):
value = str(value)[1:]
if isinstance(value, str):
value = value.replace("/", "_")
return pathvalidate.sanitize_filepath(str(value))
Loading