summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-28 20:33:26 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-28 20:33:26 -0400
commit57c8e4ee7cea126e68ade4913c57a46f06d1a2b0 (patch)
tree6328d36c6e345878a320c5cfcf2b2b1f69c89fdf /inc/config.php
parentcea7881749e85b4ba5c8444e738d42a27d91244f (diff)
Strip combining characters from Unicode strings (eg. Zalgo)
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 98e127b3..d7580a8b 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -282,6 +282,8 @@
$config['strip_superfluous_returns'] = true;
// Require an image for threads?
$config['force_image_op'] = true;
+ // Strip combining characters from Unicode strings (eg. "Zalgo")
+ $config['strip_combining_chars'] = true;
// Max body length
$config['max_body'] = 1800;