Skip to content
Snippets Groups Projects
Unverified Commit e63aa80c authored by Nina Blanson's avatar Nina Blanson Committed by GitHub
Browse files

Fixes #2900 - Checks slur regex to see if it is too permissive (#3146)


* Fixes #2900 - Checks slur regex to see if it is too permissive along with small validation organization

* Clean up variable names, add handler for valid empty string usecase

* Update tests

* Create validation function and add tests

* Test clean up

* Use payload value vs local site value to prevent stunlocking

* Remove println added while testing

* Fall back to local site regex if not provided from request

* Attempt clean up of flaky comment_view tests

* Pull in latest submodule

* Move application, post check into functions, add more tests and improve test readability

---------

Co-authored-by: default avatarNutomic <me@nutomic.com>
parent d1d90af0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment