mirror of
https://github.com/wekan/wekan.git
synced 2025-12-19 08:50:13 +01:00
Fix DOMPurify paths. Part 3.
Thanks to xet7 !
This commit is contained in:
parent
82ba0f9593
commit
21ba0a9606
5 changed files with 125 additions and 4 deletions
|
|
@ -325,7 +325,7 @@ BlazeComponent.extendComponent({
|
|||
}).register('editor');
|
||||
|
||||
import DOMPurify from 'dompurify';
|
||||
import { sanitizeHTML } from '../lib/secureDOMPurify';
|
||||
import { sanitizeHTML } from '/imports/lib/secureDOMPurify';
|
||||
|
||||
// Additional safeAttrValue function to allow for other specific protocols
|
||||
// See https://github.com/leizongmin/js-xss/issues/52#issuecomment-241354114
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue