vanxan / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Mobile download using new share #347

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using the new share feature, shared links seem to download as *random_name*.bin 
files on Android mobile. Strangely this only seems to happen on default Android 
browser, another browser (Dolphin HD) works perfect.

Original issue reported on code.google.com by fub...@gmail.com on 9 Jan 2012 at 12:07

GoogleCodeExporter commented 8 years ago
Could you try adding param "m=1" into the url, does it help? I don't have 
Android phone right now, so can't test this myself.

Original comment by samuli.j...@gmail.com on 9 Jan 2012 at 4:06

GoogleCodeExporter commented 8 years ago
at very end of generated URL ?

URL:  
http://www.kaipee.co.uk/fileman/backend/r.php/public/975B56A108DD47928E3F42CC2D8
E673D

Original comment by fub...@gmail.com on 9 Jan 2012 at 4:22

GoogleCodeExporter commented 8 years ago
Yes, if this is the url, then

http://www.kaipee.co.uk/fileman/backend/r.php/public/975B56A108DD47928E3F42CC2D8
E673D?m=1

Original comment by samuli.j...@gmail.com on 9 Jan 2012 at 4:39

GoogleCodeExporter commented 8 years ago
nope, still downloads 975B56A108DD47928E3F42CC2D8E673D.bin

Did we have similar issue before?

Original comment by fub...@gmail.com on 9 Jan 2012 at 4:46

GoogleCodeExporter commented 8 years ago
Yes, I'm pretty sure this has been there before, the same download mechanism is 
used in every place.

Mobile browsers are picky, especially Android. For example: 
http://digiblog.de/2011/04/19/android-and-the-download-file-headers/

So I think this about a http header required to be in some exact form, I just 
don't have Android browser to test this.

Original comment by samuli.j...@gmail.com on 9 Jan 2012 at 6:21