mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-06 05:24:17 -04:00
upgrade DOMpurify to 2.1.1 - obsoleting the SAFE_FOR_JQUERY flag
This commit is contained in:
parent
c37052fe82
commit
f66c690fc0
7 changed files with 9 additions and 10 deletions
|
@ -5613,8 +5613,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
I18n.loadTranslations();
|
||||
|
||||
DOMPurify.setConfig({
|
||||
ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|magnet):)/i,
|
||||
SAFE_FOR_JQUERY: true
|
||||
ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|magnet):)/i
|
||||
});
|
||||
|
||||
// Add a hook to make all links open a new window
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue