beber pushed a commit to branch master.

http://git.enlightenment.org/website/git.git/commit/?id=ccef95c6a2f24c177ddc74f4db490d7d75abbe72

commit ccef95c6a2f24c177ddc74f4db490d7d75abbe72
Author: Bertrand Jacquin <[email protected]>
Date:   Sat Jun 7 15:09:17 2014 +0200

    BUG/MEDIUM: filters/commit-filter: Handle http:// links too
---
 public_html/filters/commit-filter | 6 +++---
 1 file 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 @@
 
 exec sed -r \
   -e '/CID\b/! s@\b([0-9a-fA-F]{7,40})\b@<a href="./?id=\1">\1</a>@g' \
-  -e '/https:\/\/phab.enlightenment.org\/(D[0-9]+)\b/! 
s@\b(D[0-9]+)\b@https://phab.enlightenment.org/\1@g' \
-  -e '/https:\/\/phab.enlightenment.org\/(T[0-9]+)\b/! 
s@\b(T[0-9]+)\b@https://phab.enlightenment.org/\1@g' \
-  -e 's@\b(https://[^ ]+)@<a href="\1">\1</a>@g'
+  -e '/http(s?):\/\/phab.enlightenment.org\/(D[0-9]+)\b/! 
s@\b(D[0-9]+)\b@https://phab.enlightenment.org/\1@g' \
+  -e '/http(s?):\/\/phab.enlightenment.org\/(T[0-9]+)\b/! 
s@\b(T[0-9]+)\b@https://phab.enlightenment.org/\1@g' \
+  -e 's@\b(http(s?)://[^ ]+)@<a href="\1">\1</a>@g'

-- 


Reply via email to