mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 07:31:47 +01:00
Try to fix some security issues. Part 2.
Thanks to responsible security disclosure contributors and xet7 !
This commit is contained in:
parent
e34cfad06b
commit
382168a5b4
9 changed files with 2198 additions and 3712 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import DOMPurify from 'isomorphic-dompurify';
|
||||
import DOMPurify from 'dompurify';
|
||||
import { TAPi18n } from '/imports/i18n';
|
||||
|
||||
const activitiesPerPage = 500;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { ObjectID } from 'bson';
|
||||
import DOMPurify from 'isomorphic-dompurify';
|
||||
import DOMPurify from 'dompurify';
|
||||
|
||||
const filesize = require('filesize');
|
||||
const prettyMilliseconds = require('pretty-ms');
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ BlazeComponent.extendComponent({
|
|||
}
|
||||
}).register('editor');
|
||||
|
||||
import DOMPurify from 'isomorphic-dompurify';
|
||||
import DOMPurify from 'dompurify';
|
||||
|
||||
// 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