We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc3d50 commit ab15e7aCopy full SHA for ab15e7a
1 file changed
mkconcore.py
@@ -90,7 +90,7 @@ def safe_name(value, context):
90
def safe_path(value, context):
91
"""
92
Validates that a path string does not contain characters dangerous for shell command injection.
93
- Unlike safe_name(), this allows path separators (/ and \) but still blocks dangerous shell metacharacters.
+ Unlike safe_name(), this allows path separators (/ and \\) but still blocks dangerous shell metacharacters.
94
95
if not value:
96
raise ValueError(f"{context} cannot be empty")
0 commit comments