From: david-sarah <david-sarah@jacaranda.org>
Date: Thu, 8 Mar 2012 23:17:58 +0000 (+0000)
Subject: Make the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes... 
X-Git-Url: https://git.rkrishnan.org/simplejson/quickstart.html?a=commitdiff_plain;h=aaee828abb77bd89dbe7369570193da0c0d08719;p=tahoe-lafs%2Ftahoe-lafs.git

Make the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes a test. fixes #1682
---

diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py
index edafd242..033b542e 100644
--- a/src/allmydata/test/test_web.py
+++ b/src/allmydata/test/test_web.py
@@ -504,6 +504,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 3df902d0..0d946a8b 100644
--- a/src/allmydata/web/welcome.xhtml
+++ b/src/allmydata/web/welcome.xhtml
@@ -86,7 +86,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 n:render="incident_button" />