Project

General

Profile

Actions

Bug #73

closed

Downloads fail on sites that require a login

Added by Soren Stoutner almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Next Release
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?


Files

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

Updated by Hendrik Knackstedt over 7 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.

Actions #2

Updated by Soren Stoutner over 7 years ago

Thanks.

Actions #5

Updated by Soren Stoutner over 7 years ago

  • Description updated (diff)
Actions #6

Updated by Soren Stoutner over 5 years ago

  • Priority changed from 2 to Next Release
Actions

Also available in: Atom PDF