1
0
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:
openshift-merge-bot[bot]
2025-05-02 14:03:15 +00:00
committed by GitHub
5 changed files with 25 additions and 15 deletions

View File

@@ -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 '\'':