From d64a2934ff6d6dd1f540bd8f025b7a41ec8eecfb Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 10 Jan 2021 00:18:50 +0000 Subject: [PATCH] Remove security fix for JQuery 1.2 (#33383). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20709 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 98360fe70..b214f7540 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -1,13 +1,6 @@ /* 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); } -- 2.39.5