mirror of
https://github.com/containers/podman.git
synced 2026-02-05 15:45:08 +01:00
Merge pull request #25722 from l0rd/fix-hyperv-volumes-with-space
Fix machines failing to start when a volume's path contains spaces
This commit is contained in:
@@ -473,7 +473,7 @@ func escapeString(escaped *strings.Builder, word string, isPath bool) {
|
||||
case '\\':
|
||||
escaped.WriteString("\\\\")
|
||||
case ' ':
|
||||
escaped.WriteString(" ")
|
||||
escaped.WriteString("\\x20")
|
||||
case '"':
|
||||
escaped.WriteString("\\\"")
|
||||
case '\'':
|
||||
|
||||
Reference in New Issue
Block a user