Skip to content

[Bug] DuckDuckGo refuses to download files from directories secured with basic auth #7844

@frie

Description

@frie

Describe the bug

Browsing a web page in a basic-auth-secured directory (requesting a login with username and password) I click a document link initiating a file download: in the simplest case a static link to a document in the file system. E.g. a pdf-Doc.

See my test page to verify the bug

How to Reproduce

  1. Enter the secured page and login with username and password
  2. Click the document link
  3. Accept to download the file to the download folder in the DDG dialog

The "download started" message is displayed, then "download failed. check internet connection".

No problems when using Android Chrome or a desktop browser (Chrome, FF).

The web page is accessed from a Apache webserver. The acces log only shows one line for the download (HTTP code 200).

Expected behavior

The document should be downloaded and stored in the download folder

Environment

- DDG App Version: 5.265.0
- Android System Webiew Version: 144.0.7559.109
- Device: Samsung Galaxy XCover 7
- OS: Android 16

Same behaviour on
- Device: Lenovo Tab M10
- OS: Android 110

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions