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

Added double backslashes inside file name #1707

Merged
merged 2 commits into from
Sep 6, 2024
Merged

Conversation

aleksvujic
Copy link
Contributor

Description

Example for lossless image compression contains a single \ character as path separator which is an escape character in C#. Double backslash \\ should be used instead.

Before:

var snakewareLogo = new FileInfo("c:\path\to\Snakeware.jpg");

After:

var snakewareLogo = new FileInfo("c:\\path\\to\\Snakeware.jpg");

@CLAassistant
Copy link

CLAassistant commented Sep 4, 2024

CLA assistant check
All committers have signed the CLA.

@dlemstra
Copy link
Owner

dlemstra commented Sep 5, 2024

Thanks for pointing this out. I think I would rather use @ instead of a double \. Would you mind updating the PR?

@aleksvujic
Copy link
Contributor Author

Sure, I modified the pull request.

@dlemstra dlemstra merged commit 30b3d2f into dlemstra:main Sep 6, 2024
26 checks passed
@dlemstra
Copy link
Owner

dlemstra commented Sep 6, 2024

Thanks for the quick fix. Your PR has been merged.

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