diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-05-17 09:57:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-05-17 12:27:18 +0200 |
commit | 7cf5bd30f203cbca712bfd5329be909caf4da374 (patch) | |
tree | ad43ab1f0053ed6189379cfcd028b9fcbe156426 | |
parent | b07c55a0d9603c350a584541295ffcde56d64856 (diff) | |
download | volse-hubzilla-7cf5bd30f203cbca712bfd5329be909caf4da374.tar.gz volse-hubzilla-7cf5bd30f203cbca712bfd5329be909caf4da374.tar.bz2 volse-hubzilla-7cf5bd30f203cbca712bfd5329be909caf4da374.zip |
use escape_tags() wiki headers
(cherry picked from commit e7f1f496c5977ae290ea1457ea5c117dd29676f6)
-rw-r--r-- | Zotlabs/Module/Wiki.php | 4 |
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'); |