aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wiki.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-17 09:57:41 +0000
committerMario <mario@mariovavti.com>2019-05-17 12:27:18 +0200
commit7cf5bd30f203cbca712bfd5329be909caf4da374 (patch)
treead43ab1f0053ed6189379cfcd028b9fcbe156426 /Zotlabs/Module/Wiki.php
parentb07c55a0d9603c350a584541295ffcde56d64856 (diff)
downloadvolse-hubzilla-7cf5bd30f203cbca712bfd5329be909caf4da374.tar.gz
volse-hubzilla-7cf5bd30f203cbca712bfd5329be909caf4da374.tar.bz2
volse-hubzilla-7cf5bd30f203cbca712bfd5329be909caf4da374.zip
use escape_tags() wiki headers
(cherry picked from commit e7f1f496c5977ae290ea1457ea5c117dd29676f6)
Diffstat (limited to 'Zotlabs/Module/Wiki.php')
-rw-r--r--Zotlabs/Module/Wiki.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index 502f96a62..c78cb0fb5 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -293,9 +293,9 @@ class Wiki extends Controller {
}
//$wikiheaderName = urldecode($wikiUrlName);
- $wikiheaderName = NativeWiki::name_decode($wikiUrlName);
+ $wikiheaderName = escape_tags(NativeWiki::name_decode($wikiUrlName));
//$wikiheaderPage = urldecode($pageUrlName);
- $wikiheaderPage = NativeWiki::name_decode($pageUrlName);
+ $wikiheaderPage = escape_tags(NativeWiki::name_decode($pageUrlName));
$renamePage = (($wikiheaderPage === 'Home') ? '' : t('Rename page'));
$sharePage = t('Share');