Commit b56335c7 authored by Christoph Haas's avatar Christoph Haas

Patch for Debian bug added

parent 92e67060
--- Text/Filter/Linkurls.php.old 2019-08-29 13:21:04.552582188 +0000
+++ Text/Filter/Linkurls.php 2019-08-29 13:21:07.924582188 +0000
@@ -86,7 +86,7 @@
(?:\b|^)
( # Capture 1: entire matched URL
(
- (?:[a-z][\w+-]{0,19})?:/{1,3} # URL protocol and colon followed by 1-3
+ (?:[a-z][-\w+]{0,19})?:/{1,3} # URL protocol and colon followed by 1-3
# slashes, or just colon and slashes (://)
| # - or -
(?<!\.)www\d{0,3}\. # "www.", "www1.", "www2." … "www999."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment