geekwayne/apps-for-android

Unable to download files from WebView in which Link Address has more than 3 slashes i.e sub-folders

Opened this issue · 0 comments

What steps will reproduce the problem?

maybe download listener is not responding proprerly

1.Create webview,setdownloadlistener with appropriate intent

2.click download url of form: http://domainname.com/abc/pqr/myfile.pdf
 It will get downloaded

3.But, if you click download url of form: 
http://www.domainname.com/abc/pqr/xyz/myfile.pdf


What is the expected output? What do you see instead?
when there are 3 subfolders through which file is to be accessed,nothing 
happens. In all other cases,it works

What version of the product are you using? On what operating system?
I'm using android sdk Build: v21.0.1-543035 for development
I have tried out the application on my phone(2.3.6) and AVD(4.2)

Please provide any additional information below.

I have attached .rar file containing my under development application
once the app opens,perform following steps:

1)This download link works
Click on Extras->UoP Links->Syllabus->Revised Ph.D syllabus from academic year 
2010->Ph.D Course work syllabus-architecture

2)This download link doesn't work
Click on Extras->UoP Links->Syllabus->Revised syllabus from academic year 
2013->F.Y.B.Com German syllabus Basic & Advanced

I have posted the complete information on this link
http://stackoverflow.com/questions/17283184/unable-to-download-files-from-webvie
w-in-which-link-address-has-more-than-3-slas

Original issue reported on code.google.com by umangmathur10051992 on 25 Jun 2013 at 6:40

Attachments: