Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Ensure replace is done case-insensitive #487

Closed
wants to merge 1 commit into from
Closed

Ensure replace is done case-insensitive #487

wants to merge 1 commit into from

Conversation

Genbox
Copy link

@Genbox Genbox commented Aug 10, 2018

Windows accept GLOBALROOT and device paths in any casing. To ensure the replace is done correctly, it should be done in a case-insensitive way.

@Yomodo
Copy link
Collaborator

Yomodo commented Aug 14, 2018

Thanks. However, I think this one is more effective:

https://stackoverflow.com/questions/6275980/string-replace-ignoring-case/45756981#45756981

@Yomodo Yomodo closed this Aug 18, 2018
Yomodo added a commit that referenced this pull request Aug 18, 2018
Fixes #488: Path.CheckInvalidPathChars in Path.Helpers.cs should be case insensitive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants