mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 06:28:46 -04: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
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
||||||
*/
|
*/
|
||||||
const purifyHtmlConfig = {
|
const purifyHtmlConfig = {
|
||||||
ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|magnet):)/i,
|
ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|magnet):)/i,
|
||||||
SAFE_FOR_JQUERY: true,
|
|
||||||
USE_PROFILES: {
|
USE_PROFILES: {
|
||||||
html: true
|
html: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue