diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-05-17 11:57:41 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-05-17 11:57:41 +0200 |
commit | e7f1f496c5977ae290ea1457ea5c117dd29676f6 (patch) | |
tree | 432f2277fecdc1102f79e0da7ade6d7323351c7e /Zotlabs/Module | |
parent | 8be00316025efc424a7b38ab5a2542dd5d1e9fd0 (diff) | |
download | volse-hubzilla-e7f1f496c5977ae290ea1457ea5c117dd29676f6.tar.gz volse-hubzilla-e7f1f496c5977ae290ea1457ea5c117dd29676f6.tar.bz2 volse-hubzilla-e7f1f496c5977ae290ea1457ea5c117dd29676f6.zip |
use escape_tags() wiki headers
Diffstat (limited to 'Zotlabs/Module')
-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'); |