From 2f0d16286c9d7a263c146c851752a7a65a293c0a Mon Sep 17 00:00:00 2001 From: Daira Hopwood <daira@jacaranda.org> Date: Thu, 5 Sep 2013 17:58:38 +0100 Subject: [PATCH] Thu Mar 8 23:17:58 GMT 2012 david-sarah@jacaranda.org * Make the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes a test. fixes #1682 --- src/allmydata/test/test_web.py | 1 + src/allmydata/web/welcome.xhtml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 0f0cd104..1357f3ae 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -522,6 +522,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi def _check(res): self.failUnlessIn('Welcome to Tahoe-LAFS', res) self.failUnlessIn(FAVICON_MARKUP, res) + self.failUnlessIn('href="https://tahoe-lafs.org/"', res) self.s.basedir = 'web/test_welcome' fileutil.make_dirs("web/test_welcome") diff --git a/src/allmydata/web/welcome.xhtml b/src/allmydata/web/welcome.xhtml index 8a5b9aa1..5c86cfc2 100644 --- a/src/allmydata/web/welcome.xhtml +++ b/src/allmydata/web/welcome.xhtml @@ -88,7 +88,7 @@ <div class="section" id="other-resources"> <h2>Other Resources</h2> - <div>Please visit the <a target="_blank" href="http://tahoe-lafs.org">Tahoe-LAFS home page</a> for + <div>Please visit the <a target="_blank" href="https://tahoe-lafs.org/">Tahoe-LAFS home page</a> for code updates and bug reporting.</div> <div>The <a href="provisioning">provisioning tool</a> and <a -- 2.45.2