]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/default.php
Filter out img, video and audio tags in notice HTML
[quix0rs-gnu-social.git] / lib / default.php
index e9382a86bcd0900409c3d9eaa3ef21a1b945d46e..c0d559e1cc27dcba88d396bba939a7abbe3fa559 100644 (file)
@@ -285,6 +285,11 @@ $default =
         array('handle' => false,   // whether to handle sessions ourselves
               'debug' => false,    // debugging output for sessions
               'gc_limit' => 1000), // max sessions to expire at a time
+        'htmlfilter' => array(  // purify HTML through htmLawed
+            'img' => true,
+            'video' => true,
+            'audio' => true,
+        ),
         'notice' =>
         array('contentlimit' => null,
               'defaultscope' => null, // null means 1 if site/private, 0 otherwise