|
|
09/11/2011, 05:34 AM
|
#41 (permalink) | ||
|
Member
![]() Join Date: Aug 2011
Posts: 108
Likes Received: 40
Thanks: 6
Thanked 84 Times in 29 Posts
|
Quote:
Quote:
It means something - what's happening exactly? |
||
09/11/2011, 08:52 AM
|
#43 (permalink) |
|
Member
![]() Join Date: Sep 2011
Posts: 8
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
GyroJoe,
Im having problems downloading from certain site secure/unsecure whenever the file is returned in the response. For example in Binsearch -- Usenet search engine if i try to do a search for 'touchpad' and try to download any returned nzb by clicking on 'Create NZB' only empty nzb.fcgi is downloaded instead of the actual file returned in the response. Do you have any idea as to why that happens? httpfox trace: (Request-Line) POST /fcgi/nzb.fcgi?q=touchpad&max=100&adv_age=1100&server= HTTP/1.1 Host Binsearch -- Usenet search engine User-Agent Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip, deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 DNT 1 Connection keep-alive Referer http://www.binsearch.info/?q=touchpa...e=1100&server= Cookie __utma=152106154.275312916.1314320876.1314320876.1314320876.1; __utmb=152106154.7.10.1314320876; __utmz=152106154.1314320876.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=152106154 Content-Type application/x-www-form-urlencoded Content-Length 22 Response header: (Status-Line) HTTP/1.1 200 OK Content-Type application/x-nzb Content-Disposition attachment; filename="touchpad.nzb" Content-Encoding gzip Content-Length 553 X-Debug gzcached Date Sun, 11 Sep 2011 13:40:40 GMT Server lighttpd/1.4.29 |
09/11/2011, 09:46 AM
|
#44 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 13
Likes Received: 0
Thanks: 1
Thanked 3 Times in 2 Posts
|
Quote:
Are you sure the touchpad isn't sending a user-agent string or could it just be that it's sending arXiv one that they don't recognize? Edit: also moodle is the course portal that my university uses (downloads on moodle work now!) |
|
09/11/2011, 10:14 AM
|
#46 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Nothing.
Before the patch, I would get a 1B file with the correct name except preceded by a period (i.e. something.pdf -> .something.pdf) in the download folder, the download *list* in the browser would say "login.php". Now, when I click on the link for a PDF (any PDF, including ones on non-secure websites that used to download fine) the "Cannot open MIME type" message pops up immediately and there's nothing in the download folder or the download list. Last edited by severian1; 09/11/2011 at 11:16 AM. |
09/11/2011, 11:41 AM
|
#48 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 10
Likes Received: 3
Thanks: 2
Thanked 0 Times in 0 Posts
|
Woo!! Works perfectly...not getting any pdf bug either, seems to work no problem
I installed both the ipk and patch via WebOS Quick Installer, then restarted as soon as both were installed.If I come across any sites that don't work I'll post here, but my Uni website works perfectly now... no more downloading files via Ubuntu, haha.. |
09/11/2011, 12:58 PM
|
#49 (permalink) |
|
Member
![]() Join Date: Sep 2011
Posts: 3
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
yes, although the word file I just tried didn't work. It might have something to do with how they attach it. One looked like a link and did not download. The PDFs that did download didn't look like a link
|
09/11/2011, 03:27 PM
|
#51 (permalink) | |||
|
Member
![]() Join Date: Aug 2011
Posts: 108
Likes Received: 40
Thanks: 6
Thanked 84 Times in 29 Posts
|
Quote:
Quote:
![]() the browser just doesn't provide enough information about what its doing and download manager doesn't have a way to provide it either. Quote:
there is some mention of user agent in the binary, but it still doesn't have one. I'm not sure if there's maybe a config file setting. the patch is for the Enyo browser app. Advanced browser could use the cookie service also - feel free to tell the author. Last edited by GyroJoe; 09/11/2011 at 03:37 PM. |
|||
09/11/2011, 05:05 PM
|
#52 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 83
Likes Received: 8
Thanks: 21
Thanked 4 Times in 4 Posts
|
excellent work, now I am downloading the full PDF - unfortunately it doesn't seem to have the PDF extension and I have to go into the folder using internals and rename it - any idea why this might be?
pm me with your PayPal email and a donation will be forthcoming. |
09/11/2011, 07:37 PM
|
#53 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 108
Likes Received: 40
Thanks: 6
Thanked 84 Times in 29 Posts
|
Yea, that's the PDF issue I was mentioning. The problem is sites are not adding the extension and download manager isn't smart enough to add it. I have an idea for this, but haven't looked into it yet.
|
09/11/2011, 09:01 PM
|
#54 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Quote:
*All* downloads appear to be broken with the patch applied. Remove it, and they all start working again... Curious. Thanks for all the effort! |
|
09/11/2011, 10:47 PM
|
#55 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 108
Likes Received: 40
Thanks: 6
Thanked 84 Times in 29 Posts
|
Patch updated to support sites requiring basic auth. You'll get a new auth prompt to download the files.
Quote:
|
|
09/11/2011, 11:42 PM
|
#56 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Quote:
I've installed some performance tweaks, I wonder if one of them is interfering. I'm about ready to restore the device to factory settings and try it again. I've tried installing the patch and the ipk through Preware and Quickinstall, but it didn't seem to make any difference. I can see the "Cookie Jar" in the launcher, so I know it's installed. Strange. |
|
09/12/2011, 12:39 AM
|
#57 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Yay! It works. I restored my Touchpad with WebOSDoctor and then installed just the patch/ipk/JS Framework and I can now download PDFs from japanesepod101.com.
Now to reapply all my tweaks and see which, if any, breaks the securedownload patch. I'll let you know if one does. Last edited by severian1; 09/12/2011 at 12:51 AM. |
09/12/2011, 02:16 AM
|
#58 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 108
Likes Received: 40
Thanks: 6
Thanked 84 Times in 29 Posts
|
Quote:
Let me know if you find a conflict. (Try to get the logs if it happens again too) |
|
![]() |
|
| Tags |
| Thread Tools | |
| Display Modes | |
|
|



