]> git.mxchange.org Git - friendica.git/commitdiff
filter the protocol specifier in bbcode links.
authorfriendica <info@friendica.com>
Wed, 18 Jul 2012 01:33:04 +0000 (18:33 -0700)
committerfriendica <info@friendica.com>
Wed, 18 Jul 2012 01:33:04 +0000 (18:33 -0700)
boot.php
include/bbcode.php
util/messages.po

index 64ec10549b8b9a04104d1e3deb6f8c346a58fa67..6695d4e52144774c7a8e305eefd816c35d276267 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -10,7 +10,7 @@ require_once('include/nav.php');
 require_once('include/cache.php');
 
 define ( 'FRIENDICA_PLATFORM',     'Friendica');
-define ( 'FRIENDICA_VERSION',      '3.0.1406' );
+define ( 'FRIENDICA_VERSION',      '3.0.1407' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.23'    );
 define ( 'DB_UPDATE_VERSION',      1153      );
 
index 63dd9695e76f1bad88a19d922a9098eec53360b3..5449fae3e93739e4e2ca49ba87458a51809c4141 100644 (file)
@@ -386,6 +386,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
 
        // fix any escaped ampersands that may have been converted into links
        $Text = preg_replace("/\<(.*?)(src|href)=(.*?)\&amp\;(.*?)\>/ism",'<$1$2=$3&$4>',$Text);
+       $Text = preg_replace("/\<(.*?)(src|href)=\"[^hfm](.*?)\>/ism",'<$1$2="">',$Text);
 
        if($saved_image)
                $Text = bb_replace_images($Text, $saved_image);
index 5c96401d1320ffefde95a29ff4fc32526dad4916..7b4d43bcf127067070c1e7f6afb8db75f704ce1d 100644 (file)
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: 3.0.1406\n"
+"Project-Id-Version: 3.0.1407\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-07-16 10:00-0700\n"
+"POT-Creation-Date: 2012-07-17 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"