diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-04-07 08:08:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-04-07 08:08:43 +0000 |
commit | e0fbb6f12752faa4f7a3d4c714691f2963f6cf10 (patch) | |
tree | 62af7c53e6b3ff001950bb673f5a99bdd14fe1e7 | |
parent | 404de3b2299b8c958e8580b9ad7c59b87eb43af7 (diff) | |
download | redmine-e0fbb6f12752faa4f7a3d4c714691f2963f6cf10.tar.gz redmine-e0fbb6f12752faa4f7a3d4c714691f2963f6cf10.zip |
Merged r17272 into 3.3-stable (#26857).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17274 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 b3037027e..a1beea17a 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -1,6 +1,13 @@ /* Redmine - project management software Copyright (C) 2006-2016 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); } |