Project

General

Profile

Bug #73

Downloads fail on sites that require a login

Added by Soren Stoutner about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
2.x
Start date:
11/14/2016
Due date:
% Done:

0%

Estimated time:

Description

Because Android's download manager is running as a different app than Privacy Browser, downloads fail from sites that require a login, like webmail or ownCloud. Is there some way to pass the session information to download manager?

fix_authenticated_download.patch (1.49 KB) fix_authenticated_download.patch Soren Stoutner, 01/23/2017 01:18 PM

History

#1 Updated by Hendrik Knackstedt almost 2 years ago

I fixed this issue by passing session information as request header if cookies are enabled. This will work for cookie-based authentication which is common. The required session info can be retrieved from Android's CookieManager. I already tested it with one page I usually use that did not work before the change and it is working there.

Before committing my changes I need to clarify with my employer concerning the Code Submission Agreement. I hope to be able to send it to you next week.

#2 Updated by Soren Stoutner almost 2 years ago

Thanks.

#5 Updated by Soren Stoutner over 1 year ago

  • Description updated (diff)

Also available in: Atom PDF