From: Loose Cannon <Lcstyle@Gmail.com>
Date: Fri, 26 Sep 2014 21:02:14 +0000 (-0400)
Subject: 1901 - Fix Welcome Page
X-Git-Tag: allmydata-tahoe-1.10.1a1~130^2
X-Git-Url: https://git.rkrishnan.org/simplejson/components/com_hotproperty/?a=commitdiff_plain;h=refs%2Fpull%2F112%2Fhead;p=tahoe-lafs%2Ftahoe-lafs.git

1901 - Fix Welcome Page

Solution was very simple to implement, no content disposition header was
necessary.
Tested with both Firefox and Chrome, using binary image file stored in
folder, as well as with text data using LIT cap.
---

diff --git a/src/allmydata/web/welcome.xhtml b/src/allmydata/web/welcome.xhtml
index 492b4ed5..bcfa3d04 100644
--- a/src/allmydata/web/welcome.xhtml
+++ b/src/allmydata/web/welcome.xhtml
@@ -59,6 +59,7 @@
                   Filename
                   <input type="text" name="filename" />
                 </label>
+                <input type="hidden" name="save" value="true"/>
                 <p><input type="submit" class="btn" value="Download File &#187;" /></p>
               </form>
             </div>