aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-10-24 17:46:31 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-10-24 17:46:31 +0100
commit38801f802f9fd0eedd68e00ddf6707ace7220eba (patch)
tree88d492ca88d051330d409fa456e336c98eddcac0 /mod/item.php
parent0f0b9f9b2d9055fb096add93d0413e65453e8d9b (diff)
downloadvolse-hubzilla-38801f802f9fd0eedd68e00ddf6707ace7220eba.tar.gz
volse-hubzilla-38801f802f9fd0eedd68e00ddf6707ace7220eba.tar.bz2
volse-hubzilla-38801f802f9fd0eedd68e00ddf6707ace7220eba.zip
Issue #661
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index ad567b21f..dd6d0e217 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -77,7 +77,7 @@ function item_post(&$a) {
$preview = ((x($_REQUEST,'preview')) ? intval($_REQUEST['preview']) : 0);
$categories = ((x($_REQUEST,'category')) ? escape_tags($_REQUEST['category']) : '');
$webpage = ((x($_REQUEST,'webpage')) ? intval($_REQUEST['webpage']) : 0);
- $pagetitle = ((x($_REQUEST,'pagetitle')) ? escape_tags($_REQUEST['pagetitle']) : '');
+ $pagetitle = ((x($_REQUEST,'pagetitle')) ? escape_tags(urlencode($_REQUEST['pagetitle'])) : '');
$layout_mid = ((x($_REQUEST,'layout_mid')) ? escape_tags($_REQUEST['layout_mid']): '');
$plink = ((x($_REQUEST,'permalink')) ? escape_tags($_REQUEST['permalink']) : '');