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

folders on the C root directory return an exception #7152

Open
visccyberacct opened this issue Nov 12, 2024 · 1 comment
Open

folders on the C root directory return an exception #7152

visccyberacct opened this issue Nov 12, 2024 · 1 comment
Labels

Comments

@visccyberacct
Copy link

Describe the bug
I attempted to run dependency-check on a folder that installs in C:. I reconfirmed this by trying to also scan Program Files with the same exception being thrown. I am unable to generate a log file, I received the same error.

image

Version of dependency-check used
The problem occurs using version 11.1.0 of the cli (cli, gradle plugin, maven plugin, etc.)

Log file
When reporting errors, 99% of the time log file output is required. Please post the log file as a gist and provide a link in the new issue.

To Reproduce
Steps to reproduce the behavior:
Run dependency-check on a folder in the root C:\ directory

Expected behavior
Previous version of dependency-check did not throw an exception when scanning a root directory folder.

Additional context
Add any other context about the problem here.

@jeremylong
Copy link
Owner

consider escaping the command line argument - like one would need to do for anything containing spaces. Also, using forward slashes helps. Hopefully I get this right; I'm not often on a windows box:

dependency-check -o c:/Program\ Files/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants