feat(other): [WIP] π° Validate Group Name Etc. In Backend β #2
Created by: Tirokk
π° Pullrequest
Validate Group Name Etc. In Backend β #2 (closed).
Issues
- fixes #5425
Todo
I created a different issue on which @Mogge tries to find a better way to sanitize HTML #5668 (closed)
-
rename GROUPNAME_β¦
βGROUP_NAME_β¦
-
rename GROUPDESCRIPTION_β¦
βGROUP_DESCRIPTION_β¦
-
rename USERNAME_MIN_LENGTH
βUSERNAME_LENGTH_MIN
-
rename COMMENT_MIN_LENGTH
βCOMMENT_LENGTH_MIN
-
use xssMiddleware.js
to sanitize HTML:-
I created a different issue on which @Mogge tries to find a better way to sanitize HTML #5668 (closed) -
description
and therefore-
rename description
βgroupDescription
-
-
descriptionExcerpt
and therefore-
rename descriptionExcerpt
βgroupDescescriptionExcerpt
-
-
-
migration for Group
node:-
groupDescription
:-
change fulltext index as well -
rename description
βgroupDescription
-
remove inappropriate HTML like in xssMiddleware.js
?
-
-
groupDescriptionExcerpt
:-
rename descriptionExcerpt
βgroupDescriptionExcerpt
-
remove inappropriate HTML like in xssMiddleware.js
?
-
-
-
restrict in backend: -
GROUPNAME_LENGTH_MIN
-
GROUPNAME_LENGTH_MAX
-
test this both
-
-
merge new master -
clean up: search for Wolle