Skip to content

Conversation

Heunsig
Copy link

@Heunsig Heunsig commented Aug 8, 2024

I have fixed an issue in the __gvm_munge_path() function located in the ~/.gvm/scripts/function/munge_path file. Previously, paths containing spaces were being incorrectly parsed, leading to problems such as /AppData/Local/Programs/Microsoft:VS:Code/bin:/snap/bin, where colons (:) were inserted into the path names.

Because of this, after installing gvm, some terminal commands would result in a "command not found" error.

To resolve this, I updated the script to enclose each path in double quotes ("") when adding them to the array. This ensures paths with spaces are handled correctly.

This fix should solve the following issues: #486 (comment), #487 (comment), #466 (comment)

@pmhofman-se
Copy link

Can we please get this merged?

@Heunsig
Copy link
Author

Heunsig commented Sep 27, 2024

Can we please get this merged?

Looks like the main contributor hasn't had a chance to review this yet

Copy link

@pmhofman-se pmhofman-se left a comment

Choose a reason for hiding this comment

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

I'm ok with this. I am using this implementation already.

@pmhofman-se
Copy link

Has this repo been abandonned when Edgio took over Moov??
Maybe better continue with a fork then....

@pmhofman-se
Copy link

@BenKnigge, are you still maintaining this project?

@weakcamel
Copy link

@BenKnigge can this be mergedd pretty please?

This is a fatal bug rendering GVM useless when triggered.

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.

3 participants