diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-10-24 17:46:31 +0100 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-10-24 17:46:31 +0100 |
commit | 38801f802f9fd0eedd68e00ddf6707ace7220eba (patch) | |
tree | 88d492ca88d051330d409fa456e336c98eddcac0 | |
parent | 0f0b9f9b2d9055fb096add93d0413e65453e8d9b (diff) | |
download | volse-hubzilla-38801f802f9fd0eedd68e00ddf6707ace7220eba.tar.gz volse-hubzilla-38801f802f9fd0eedd68e00ddf6707ace7220eba.tar.bz2 volse-hubzilla-38801f802f9fd0eedd68e00ddf6707ace7220eba.zip |
Issue #661
-rw-r--r-- | mod/item.php | 2 |
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']) : ''); |