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

Perform directory root comparison in case-insensitive way #2122

Merged
merged 4 commits into from
Oct 7, 2017

Conversation

ayan4m1
Copy link
Contributor

@ayan4m1 ayan4m1 commented Sep 29, 2017

This should resolve most cases of #1940 without sacrificing case-sensitivity for the actual path creation/manipulation. The issue arises when ToAbsolute is called on an already-absolute path that did not have the same casing as the mod path. The StartsWith() should return false if the two directories are both absolute but have different casing.

@politas
Copy link
Member

politas commented Sep 30, 2017

Sounds good. I haven't really got a handle on what's happening, though. Can you add a comment explaining the purpose? Even better would be a test case.

@ayan4m1
Copy link
Contributor Author

ayan4m1 commented Oct 2, 2017

Working on a good test case now.

@Olympic1 Olympic1 added Core (ckan.dll) Issues affecting the core part of CKAN Pull request labels Oct 5, 2017
@politas politas merged commit 06e6861 into KSP-CKAN:master Oct 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core (ckan.dll) Issues affecting the core part of CKAN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants