-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Putting language= in querystring breaks CMS pages #5651
Milestone
Comments
Thanks for reporting @stefanw. |
vstoykov
added a commit
to IndustriaTech/django-cms
that referenced
this issue
Sep 7, 2016
If for some reason local variable language becomes empty string instead of None then treat is as None. (Duck typing) Fixes django-cms#5651
vstoykov
added a commit
to IndustriaTech/django-cms
that referenced
this issue
Sep 7, 2016
If for some reason local variable language becomes empty string instead of None then treat is as None. (Duck typing) Fixes django-cms#5651
vstoykov
added a commit
to IndustriaTech/django-cms
that referenced
this issue
Sep 7, 2016
If for some reason local variable language becomes empty string instead of None then treat is as None. (Duck typing) Fixes django-cms#5651
czpython
pushed a commit
that referenced
this issue
Sep 7, 2016
czpython
pushed a commit
to czpython/django-cms
that referenced
this issue
Sep 7, 2016
…cms#5664) If for some reason local variable language becomes empty string instead of None then treat is as None. (Duck typing) Fixes django-cms#5651
nolsto
pushed a commit
to fusionbox/django-cms
that referenced
this issue
Jan 5, 2017
…cms#5664) If for some reason local variable language becomes empty string instead of None then treat is as None. (Duck typing) Fixes django-cms#5651
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding a
?edit&language=
on any CMS page leads to aNoReverseMatch
error. See here for an example.My best guess why this happens without looking deeper: the toolbar admin language is set to the empty string which breaks language-based reversing of URLs. Solution: better sanitation of the toolbar language input.
The text was updated successfully, but these errors were encountered: