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

Fix DnnImageHandler bug when filepath mixedcase #4420 #4421

Merged
merged 1 commit into from
Jan 19, 2021
Merged

Fix DnnImageHandler bug when filepath mixedcase #4420 #4421

merged 1 commit into from
Jan 19, 2021

Conversation

thienvc
Copy link
Contributor

@thienvc thienvc commented Jan 19, 2021

return WhiteListFolderPaths.Any(normalizeFilePath.StartsWith); =>
return WhiteListFolderPaths.Any(s => normalizeFilePath.StartsWith(s, StringComparison.InvariantCultureIgnoreCase));

Summary

return WhiteListFolderPaths.Any(normalizeFilePath.StartsWith); => 
return WhiteListFolderPaths.Any(s => normalizeFilePath.StartsWith(s, StringComparison.InvariantCultureIgnoreCase));
@bdukes bdukes added this to the 9.9.0 milestone Jan 19, 2021
@bdukes bdukes merged commit 4eaa5e6 into dnnsoftware:develop Jan 19, 2021
@bdukes
Copy link
Contributor

bdukes commented Jan 19, 2021

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants