aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-24 14:05:28 -0700
committerfriendica <info@friendica.com>2014-10-24 14:05:28 -0700
commit322ec2b9dfa659924b80550cb07aa45fca8fd695 (patch)
tree15ae37121f22a6bdd60db79247c14209030c795f /mod/item.php
parentcf05266b15e49020c217107fd81896171d5ef26b (diff)
parente0dd68d77a3770e174a5866d9b15b17d2cd52889 (diff)
downloadvolse-hubzilla-322ec2b9dfa659924b80550cb07aa45fca8fd695.tar.gz
volse-hubzilla-322ec2b9dfa659924b80550cb07aa45fca8fd695.tar.bz2
volse-hubzilla-322ec2b9dfa659924b80550cb07aa45fca8fd695.zip
Merge https://github.com/friendica/red into pending_merge
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']) : '');