aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-10 19:43:15 -0700
committerfriendica <info@friendica.com>2015-03-10 19:43:15 -0700
commit65ffd209d43a4af9d0c866465d28fde26a2bbd83 (patch)
tree6c6baba36e63339e191e60d9dc0db4e2fa9b25c5 /include
parent9d1df58759b4eff9439c12d081ba5e1264f900a3 (diff)
downloadvolse-hubzilla-65ffd209d43a4af9d0c866465d28fde26a2bbd83.tar.gz
volse-hubzilla-65ffd209d43a4af9d0c866465d28fde26a2bbd83.tar.bz2
volse-hubzilla-65ffd209d43a4af9d0c866465d28fde26a2bbd83.zip
allow urls using the zot: or zots: URL schemes to exist without getting filtered away.
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 6b8cb941f..aa6641ca2 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -864,7 +864,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);
+ $Text = preg_replace("/\<(.*?)(src|href)=\"[^zhfm#](.*?)\>/ism",'<$1$2="">',$Text);
$Text = bb_replace_images($Text,$saved_images);