projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b58c354
)
1901 - Fix Welcome Page
112/head
author
Loose Cannon
<Lcstyle@Gmail.com>
Fri, 26 Sep 2014 21:02:14 +0000
(17:02 -0400)
committer
Loose 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
patch
|
blob
|
history
diff --git
a/src/allmydata/web/welcome.xhtml
b/src/allmydata/web/welcome.xhtml
index 492b4ed5e0054fc6714e1b510308acac38b4096e..bcfa3d04555ab9382add3af10a7acfb7e8f025d8 100644
(file)
--- 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 »" /></p>
</form>
</div>