diff options
author | 2009-08-28 22:17:28 +0000 | |
---|---|---|
committer | 2009-08-28 22:17:28 +0000 | |
commit | 0442407e7cfcad5d21e5f6f4ba1e290efa52aa52 (patch) | |
tree | 9c8f2c75ac9e5ff948c801a2fc3fc96ad123c48d /web | |
parent | Add scrollbars for overflowing arches on prefix/all. (diff) | |
download | packages-3-0442407e7cfcad5d21e5f6f4ba1e290efa52aa52.tar.gz packages-3-0442407e7cfcad5d21e5f6f4ba1e290efa52aa52.tar.bz2 packages-3-0442407e7cfcad5d21e5f6f4ba1e290efa52aa52.zip |
Use SSL for forums and bugzilla.
Diffstat (limited to 'web')
-rw-r--r-- | web/lib/links.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/lib/links.py b/web/lib/links.py index 0f1d28d..1dde044 100644 --- a/web/lib/links.py +++ b/web/lib/links.py @@ -40,7 +40,7 @@ def bugzilla_bug_link(bugid, sitebase='bugs.gentoo.org'): """Given a bug ID, give link to the relevant Bugzilla entry""" - return 'http://%s/show_bug.cgi?id=%d' % (sitebase, bugid) + return 'https://%s/show_bug.cgi?id=%d' % (sitebase, bugid) def bugzilla_search_link(searchstring, sitebase = 'bugs.gentoo.org', @@ -58,7 +58,7 @@ def bugzilla_search_link(searchstring, args.append('short_desc_type=allwords') args.append('short_desc=%s' % (searchstring, )) queryparams = '&'.join(args) - s = 'http://%s/buglist.cgi?%s' % (sitebase, queryparams) + s = 'https://%s/buglist.cgi?%s' % (sitebase, queryparams) return s def ciavc_link(username): @@ -66,6 +66,6 @@ def ciavc_link(username): return 'http://cia.vc/stats/author/%s' % (username) def forums_search_link(query): - return 'http://forums.gentoo.org/search.php?search_terms=all&show_results=topics&mode=results&search_keywords=%s' % (query) + return 'https://forums.gentoo.org/search.php?search_terms=all&show_results=topics&mode=results&search_keywords=%s' % (query) # vim:ts=4 et ft=python: |