diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-11-27 11:31:50 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-11-29 17:15:38 +0100 |
| commit | da3d68220043a767a2e4c1b8b39a4e4f75c103f5 (patch) | |
| tree | c016623658a12aeff89c598abfadbad5211c6ca0 | |
| parent | 6f18c807a391ce018d37e73b5941d761cad5e86d (diff) | |
| download | Ishtar-da3d68220043a767a2e4c1b8b39a4e4f75c103f5.tar.bz2 Ishtar-da3d68220043a767a2e4c1b8b39a4e4f75c103f5.zip | |
🔒️ fix security issue for jQuery CVE-2020-11022
https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2
| -rw-r--r-- | ishtar_common/static/js/ishtar.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index bd94f525e..7ab6f7d1b 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -23,6 +23,10 @@ beforeSend: function(xhr, settings) { } }}); +jQuery.htmlPrefilter = function(html) { + return html; +}; + if (typeof String.prototype.endsWith !== 'function') { String.prototype.endsWith = function(suffix) { return this.indexOf(suffix, this.length - suffix.length) !== -1; |
