diff options
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/application.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index ac5a6ed55..c8a7df1fa 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -1,6 +1,13 @@ /* Redmine - project management software 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) { $('#'+id).find('input[type=checkbox]:enabled').prop('checked', checked); } |