summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 4ed87c3de..ded291356 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -411,7 +411,7 @@ class Doku_Handler {
array($link[0],$link[1]),
$pos
);
- }elseif ( preg_match('#^([a-z0-9]+?)://#i',$link[0]) ) {
+ }elseif ( preg_match('#^([a-z0-9\-\.+]+?)://#i',$link[0]) ) {
// external link (accepts all protocols)
$this->_addCall(
'externallink',