[PATCH] D43295: Render https producers as HTML hyperlinks too.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 08:22:07 PST 2018
fhahn created this revision.
fhahn added reviewers: kristof.beyls, cmatthews.
https://reviews.llvm.org/D43295
Files:
lnt/server/ui/util.py
Index: lnt/server/ui/util.py
===================================================================
--- lnt/server/ui/util.py
+++ lnt/server/ui/util.py
@@ -228,7 +228,7 @@
return '<a href="%(producer)s">%(builder)s #%(build)s %(img)s</a>' % \
locals()
- elif producer.startswith('http://'):
+ elif producer.startswith('http://') or producer.startswith('https://'):
return '<a href="' + producer + '">Producer</a>'
else:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43295.134234.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180214/3282899e/attachment.bin>
More information about the llvm-commits
mailing list