lemmy/crates/utils
Nina Blanson e63aa80c3a
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: Nutomic <me@nutomic.com>
2023-06-27 07:03:30 -04:00
..
src Fixes #2900 - Checks slur regex to see if it is too permissive (#3146) 2023-06-27 07:03:30 -04:00
translations@7fc71d0860 Update translations 2023-06-20 10:59:27 +02:00
build.rs Add email translations (#2175) 2022-03-29 18:23:03 +00:00
Cargo.toml Remove another unused dev dependency 2023-06-26 12:46:44 +02:00