aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-12-07 13:24:09 +0100
committerGitHub <noreply@github.com>2017-12-07 13:24:09 +0100
commit3dac1a8d4ae6d087ff9bea6f194b76a37e34f938 (patch)
treeb311b0b398272ff4de778a72c12e748d2c15fa7c
parentd326e7a75c58e49d84d286f89a97573dbc3e870b (diff)
parent9ba72a06b3c78fd9b9a3cb2bb280ec7cacbdd140 (diff)
downloadvolse-hubzilla-3dac1a8d4ae6d087ff9bea6f194b76a37e34f938.tar.gz
volse-hubzilla-3dac1a8d4ae6d087ff9bea6f194b76a37e34f938.tar.bz2
volse-hubzilla-3dac1a8d4ae6d087ff9bea6f194b76a37e34f938.zip
Merge pull request #924 from dentm42/bugfix-pr922
Fix 'unable to add pages with spaces' (pr 922)
-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'],