瀏覽代碼

Patch for Debian bug added

merge-requests/1/merge
Christoph Haas 6 年之前
父節點
當前提交
b56335c79f
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. +11
    -0
      ansible/roles/ispmail-webmail-apache-horde/files/horde-text-filter-linkurls.patch

+ 11
- 0
ansible/roles/ispmail-webmail-apache-horde/files/horde-text-filter-linkurls.patch 查看文件

@@ -0,0 +1,11 @@
--- 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."

Loading…
取消
儲存