aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2017-12-06 07:51:21 -0500
committerM.Dent <dentm42@dm42.net>2017-12-06 07:51:34 -0500
commit9ba72a06b3c78fd9b9a3cb2bb280ec7cacbdd140 (patch)
treec1f9cf3d885dfcd6ca5549143ecb424c0044587f /Zotlabs/Widget
parenta604236d89a843a10af1a87f5e9a5cdac153b3ab (diff)
downloadvolse-hubzilla-9ba72a06b3c78fd9b9a3cb2bb280ec7cacbdd140.tar.gz
volse-hubzilla-9ba72a06b3c78fd9b9a3cb2bb280ec7cacbdd140.tar.bz2
volse-hubzilla-9ba72a06b3c78fd9b9a3cb2bb280ec7cacbdd140.zip
Fix 'unable to add pages with spaces' (pr 922)
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Wiki_pages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Wiki_pages.php b/Zotlabs/Widget/Wiki_pages.php
index 46f12f092..ecd2c9100 100644
--- a/Zotlabs/Widget/Wiki_pages.php
+++ b/Zotlabs/Widget/Wiki_pages.php
@@ -21,7 +21,7 @@ class Wiki_pages {
$can_create = perm_is_allowed(\App::$profile['uid'],get_observer_hash(),'write_wiki');
$can_delete = ((local_channel() && (local_channel() == \App::$profile['uid'])) ? true : false);
- $pageName = urlencode(escape_tags(urldecode(argv(3))));
+ $pageName = addslashes(escape_tags(urldecode(argv(3))));
return replace_macros(get_markup_template('wiki_page_not_found.tpl'), array(
'$resource_id' => $arr['resource_id'],