]> 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 9926f6aa7af121d73d2aa1d4e85acc1af811eec2..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
@@ -298,9 +303,11 @@ $default =
         array('disabled' => true),
         'plugins' =>
         array('core' => array(
+                            'ActivityVerb' => array(),
                             'AuthCrypt' => array(),
                             'Cronish' => array(),
                             'Favorite' => array(),
+                            'Share' => array(),
                             'LRDD' => array(),
                             'StrictTransportSecurity' => array(),
                         ),