require_once('library/Mobile_Detect/Mobile_Detect.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
-define ( 'FRIENDICA_VERSION', '3.0.1423' );
+define ( 'FRIENDICA_VERSION', '3.0.1424' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1154 );
$res['body'] = $rawenv[0]['data'];
$res['body'] = str_replace(array(' ',"\t","\r","\n"), array('','','',''),$res['body']);
// make sure nobody is trying to sneak some html tags by us
- $res['body'] = notags(base64url_decode($res['body']));
+ $res['body'] = htmlspecialchars(base64url_decode($res['body']),ENT_QUOTES,'UTF-8');
}
$res['body'] = escape_tags($res['body']);
}
+
// this tag is obsolete but we keep it for really old sites
$allow = $item->get_item_tags(NAMESPACE_DFRN,'comment-allow');
else
$body = $item['body'];
-
$o = "\r\n\r\n<entry>\r\n";
if(is_array($author))
}
}
}
+
+ // replace the special char encoding
+
+ $s = htmlspecialchars($s,ENT_QUOTES,'UTF-8');
return $s;
}
$body = bb_translate_video($body);
+
/**
* Fold multi-line [code] sequences
*/
$body = scale_external_images($body,false);
+
+
/**
* Look for any tags and linkify them
*/
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: 3.0.1423\n"
+"Project-Id-Version: 3.0.1424\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-08-02 10:00-0700\n"
+"POT-Creation-Date: 2012-08-03 10:00-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"