Project

General

Profile

Feature #33383 » remove_security_fix_for_jquery_1_2.patch

Marius BĂLTEANU, 2021-01-09 12:59

View differences:

public/javascripts/application.js
/* Redmine - project management software
Copyright (C) 2006-2020 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) {
$('#'+id).find('input[type=checkbox]:enabled').prop('checked', checked);
}
(4-4/4)