mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-02-13 13:11:21 -05:00
Remove SAFE_FOR_JQUERY from DOMPurify as it has been removed
DOMPurify removed this configuration option, so I guess it has no effect and can be removed. See docs: https://github.com/cure53/DOMPurify?tab=readme-ov-file#removed-configuration > SAFE_FOR_JQUERY 2.1.0 No replacement required. The PR https://github.com/cure53/DOMPurify/pull/474 also links the commits, which removed it.
This commit is contained in:
parent
0eef8d62d7
commit
ac62d909b9
@ -58,7 +58,6 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
||||
*/
|
||||
const purifyHtmlConfig = {
|
||||
ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|magnet):)/i,
|
||||
SAFE_FOR_JQUERY: true,
|
||||
USE_PROFILES: {
|
||||
html: true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user