Skip to content

[vm-image-vault] Normalize image path before replace#4813

Open
xmkg wants to merge 1 commit intomainfrom
bugfix/normalize-path-before-clone-rename
Open

[vm-image-vault] Normalize image path before replace#4813
xmkg wants to merge 1 commit intomainfrom
bugfix/normalize-path-before-clone-rename

Conversation

@xmkg
Copy link
Copy Markdown
Member

@xmkg xmkg commented Apr 10, 2026

The replace_all call assumes the path is single forward slashes where Windows makes no such guarantees. Call generic_string() to grab a posix like normalized path so it's always forward slashes.

The replace_all call assumes the path is single forward slashes where
Windows makes no such guarantees. Call generic_string() to grab a posix
like normalized path so it's always forward slashes.

Signed-off-by: Mustafa Kemal Gilor <mustafa.gilor@canonical.com>
@xmkg xmkg requested a review from jimporter April 10, 2026 23:23
@xmkg xmkg changed the title [vm-image-vault] Normalize image path before repl [vm-image-vault] Normalize image path before replace Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant