summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2014-06-07 15:09:17 +0200
committerBertrand Jacquin <beber@meleeweb.net>2014-06-07 15:09:17 +0200
commitccef95c6a2f24c177ddc74f4db490d7d75abbe72 (patch)
tree8b199e1465c3cf4ef3a6be6883f6bd6b96c51a8c
parente6ba2089d5337ab83755c234f42ee7b9a5274b5f (diff)
BUG/MEDIUM: filters/commit-filter: Handle http:// links too
-rwxr-xr-xpublic_html/filters/commit-filter6
1 files changed, 3 insertions, 3 deletions
diff --git a/public_html/filters/commit-filter b/public_html/filters/commit-filter
index 362dfe7..3a3f86f 100755
--- a/public_html/filters/commit-filter
+++ b/public_html/filters/commit-filter
@@ -17,6 +17,6 @@
17 17
18exec sed -r \ 18exec sed -r \
19 -e '/CID\b/! s@\b([0-9a-fA-F]{7,40})\b@<a href="./?id=\1">\1</a>@g' \ 19 -e '/CID\b/! s@\b([0-9a-fA-F]{7,40})\b@<a href="./?id=\1">\1</a>@g' \
20 -e '/https:\/\/phab.enlightenment.org\/(D[0-9]+)\b/! s@\b(D[0-9]+)\b@https://phab.enlightenment.org/\1@g' \ 20 -e '/http(s?):\/\/phab.enlightenment.org\/(D[0-9]+)\b/! s@\b(D[0-9]+)\b@https://phab.enlightenment.org/\1@g' \
21 -e '/https:\/\/phab.enlightenment.org\/(T[0-9]+)\b/! s@\b(T[0-9]+)\b@https://phab.enlightenment.org/\1@g' \ 21 -e '/http(s?):\/\/phab.enlightenment.org\/(T[0-9]+)\b/! s@\b(T[0-9]+)\b@https://phab.enlightenment.org/\1@g' \
22 -e 's@\b(https://[^ ]+)@<a href="\1">\1</a>@g' 22 -e 's@\b(http(s?)://[^ ]+)@<a href="\1">\1</a>@g'