aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-01 02:44:01 -0800
committerzotlabs <mike@macgirvin.com>2016-12-01 02:44:01 -0800
commit6552ccc47758b0f85af785a324289796cc459eb0 (patch)
tree32aeac8c8f6c0818028e4c720001937b59f7cf5d /include/bbcode.php
parent83a4999dbee17262e6f14cec6cda220e07b88c0e (diff)
downloadvolse-hubzilla-6552ccc47758b0f85af785a324289796cc459eb0.tar.gz
volse-hubzilla-6552ccc47758b0f85af785a324289796cc459eb0.tar.bz2
volse-hubzilla-6552ccc47758b0f85af785a324289796cc459eb0.zip
issue #607 parens not recognised inside urls
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 7e932151f..8ee1f0da1 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -703,7 +703,7 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false)
// Perform URL Search
- $urlchars = '[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,\@]';
+ $urlchars = '[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,\@\(\)]';
if (strpos($Text,'http') !== false) {
if($tryoembed) {