Commit d1a64df1 authored by jplang's avatar jplang

Fix for CVE-2015-9251 in JQuery 1.11.1 (#26857).

Patch by Gregor Schmidt.

git-svn-id: https://svn.redmine.org/redmine/trunk@17272 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 47a60ac7
/* Redmine - project management software /* Redmine - project management software
Copyright (C) 2006-2017 Jean-Philippe Lang */ Copyright (C) 2006-2017 Jean-Philippe Lang */
/* Fix for CVE-2015-9251, to be removed with JQuery >= 3.0 */
$.ajaxPrefilter(function (s) {
if (s.crossDomain) {
s.contents.script = false;
}
});
function checkAll(id, checked) { function checkAll(id, checked) {
$('#'+id).find('input[type=checkbox]:enabled').prop('checked', checked); $('#'+id).find('input[type=checkbox]:enabled').prop('checked', checked);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment