1901 - Fix Welcome Page 112/head
authorLoose Cannon <Lcstyle@Gmail.com>
Fri, 26 Sep 2014 21:02:14 +0000 (17:02 -0400)
committerLoose Cannon <Lcstyle@Gmail.com>
Fri, 26 Sep 2014 21:02:14 +0000 (17:02 -0400)
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.

src/allmydata/web/welcome.xhtml

index 492b4ed5e0054fc6714e1b510308acac38b4096e..bcfa3d04555ab9382add3af10a7acfb7e8f025d8 100644 (file)
@@ -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>