Skip to content
Snippets Groups Projects
Commit 5078d71b authored by Georg Krause's avatar Georg Krause
Browse files

Merge branch 'fix-17' into 'master'

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

Closes #17

See merge request !10
parents de099eec cf7f349d
Branches
Tags
1 merge request!10Replace "/" in param-name with "_" during sanitizing
Pipeline #14594 passed
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment