From 6ec1bd2fa81862807389acb7c5989a90e94a4d74 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 18 May 2013 16:02:31 -0700 Subject: [PATCH] double quotes in title mess up editpost --- boot.php | 2 +- mod/editpost.php | 2 +- util/messages.po | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boot.php b/boot.php index 3c55c377c8..6819abd3b0 100644 --- a/boot.php +++ b/boot.php @@ -12,7 +12,7 @@ require_once('library/Mobile_Detect/Mobile_Detect.php'); require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '3.1.1699' ); +define ( 'FRIENDICA_VERSION', '3.1.1704' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DB_UPDATE_VERSION', 1163 ); define ( 'EOL', "
\r\n" ); diff --git a/mod/editpost.php b/mod/editpost.php index 258e2e0b15..afa9d98682 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -133,7 +133,7 @@ function editpost_content(&$a) { '$emailcc' => t('CC: email addresses'), '$public' => t('Public post'), '$jotnets' => $jotnets, - '$title' => $itm[0]['title'], + '$title' => htmlspecialchars($itm[0]['title']), '$placeholdertitle' => t('Set title'), '$category' => file_tag_file_to_list($itm[0]['file'], 'category'), '$placeholdercategory' => (feature_enabled(local_user(),'categories') ? t('Categories (comma-separated list)') : ''), diff --git a/util/messages.po b/util/messages.po index f5528e1577..88a0d62585 100644 --- a/util/messages.po +++ b/util/messages.po @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: 3.1.1699\n" +"Project-Id-Version: 3.1.1704\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-05-13 00:03-0700\n" +"POT-Creation-Date: 2013-05-18 00:02-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -- 2.39.5