Skip to content

fix: preserve Windows drive-letter and colon-containing paths when parsing import artifact flags - #588

Open
aniket866 wants to merge 2 commits into
microcks:masterfrom
aniket866:fix/import-windows-path-colons
Open

aniket866 wants to merge 2 commits into
microcks:masterfrom
aniket866:fix/import-windows-path-colons

Conversation

@aniket866

Copy link
Copy Markdown
Contributor

Fixed the import flag parser: it now strips only a trailing parseable boolean suffix, preserving Windows drive letters and other colons in file paths.

verification:

  • A small regression test is warranted for this parser bug, especially because the key case is Windows-specific but the parsing is platform-independent, the tiny parsing step so a table-driven test can cover the Windows path, :false, relative paths, and a colon-containing filename; no broader test scaffolding.

AI disclosure : ChatGpt is used to analyze related files and changes.

Closes #352

Signed-off-by: aniket866 <iamaniketkumarmaner@gmail.com>
Signed-off-by: aniket866 <iamaniketkumarmaner@gmail.com>

This branch was successfully deployed

1 active deployment
Build — 22d31691 Deployed Oct 15, 2026 by aniket866 via build-verify-package #809
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.

microcks import truncates Windows absolute paths when parsing :primary suffix

1 participant