]> git.mxchange.org Git - friendica.git/blobdiff - mod/filer.php
Rewrite Proxy module
[friendica.git] / mod / filer.php
index d61f67e1ef46d0afb76f0bcc0274718c69dbf183..4580dc6f67fd8a8e5051aac6e21129afc0288437 100644 (file)
@@ -10,15 +10,13 @@ use Friendica\Core\Renderer;
 use Friendica\Model\FileTag;
 use Friendica\Util\XML;
 
-require_once 'include/items.php';
-
 function filer_content(App $a)
 {
        if (! local_user()) {
                killme();
        }
 
-       $term = XML::unxmlify(trim(defaults($_GET, 'term', '')));
+       $term = XML::unescape(trim(defaults($_GET, 'term', '')));
        $item_id = (($a->argc > 1) ? intval($a->argv[1]) : 0);
 
        Logger::log('filer: tag ' . $term . ' item ' . $item_id);