-
Improvement
-
Resolution: Inactive
-
Minor
-
None
-
1.9.7
-
MOODLE_19_STABLE
It's possible to set a users language for the current session without any confirmation from the user.
setup.lib checks for a 'lang' parameter and sets $SESSION->lang
http://xref.moodle.org/nav.html?lib/setup.php.source.html#l644
current_language() checks for existence of this session variable and sets language
http://xref.moodle.org/nav.html?lib/moodlelib.php.source.html#l5069
Probably some confirm_sesskey() checks should be used so that users can't have their language changed simply by requesting http://moodle.org?lang=he
- duplicates
-
MDL-19675 Session languages changes via lang=... in the URL should be sesskey protected
-
- Closed
-
- has been marked as being related by
-
MDLSITE-6714 Wrong language displayed occasionally on Moodle.org
-
- Development in progress
-