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

moduleid can't detect in mvc path when redirect mixed case option enabled #3437

Closed
zyhfish opened this issue Dec 30, 2019 · 0 comments · Fixed by #3438
Closed

moduleid can't detect in mvc path when redirect mixed case option enabled #3437

zyhfish opened this issue Dec 30, 2019 · 0 comments · Fixed by #3438

Comments

@zyhfish
Copy link
Contributor

zyhfish commented Dec 30, 2019

var moduleId = httpContext.Request.QueryString.GetValueOrDefault("moduleId", -1);
:
in this code it get the module id value from query string with case sensitive mode, so when redirect mixed case option was enabled in Settings > SEO (Convert URL to lower case option should enabled as well), the query string will change moduleId to moduleid, then it can't get the correct value and the request will drop into infinite redirect loop.

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