Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Cross-platform path handling for OVF FileArchive uploads #3596

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

Xiol
Copy link
Contributor

@Xiol Xiol commented Oct 17, 2024

Description

Path handling for OVF uploads was using hardcoded path separators that did not support usage on Windows. This change handles paths in a cross-platform manner and ensures the absolute path is being used at all times.

Closes: #3555

How Has This Been Tested?

We have tested this in our own environment and confirmed it resolves the issues we were seeing with relative paths having paths prefixed on incorrectly.

@Xiol Xiol changed the title fix: Cross-platform path handling fix: Cross-platform path handling for OVF FileArchive uploads Oct 17, 2024
Copy link
Member

@dougm dougm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Xiol

@dougm dougm merged commit 15e0e96 into vmware:main Oct 21, 2024
11 checks passed
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.

[BUG] OVF file uploads not using absolute path
2 participants