Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

file download does not work on password protected public shares #1808

Closed

Description

@individual-it

Steps to reproduce

  1. create a public link share of a folder
  2. try to download a file from within that folder via public link

Expected behaviour

file should be downloaded

Actual behaviour

file cannot be downloaded

Client configuration

Browser:
Chrome

Logs

Browser log

Failed to load resource: the server responded with a status of 401 (Unauthorized)
core.bundle.js:75 Error: Unauthorized
    at core.bundle.js:75```

Activity

  1. added
    Type:Bug
    on Aug 16, 2019
  2. added
    Priority:p1-urgent
    on Aug 16, 2019
  3. added
    Topic:Security
    on Aug 29, 2019
  4. VicDeo commented on Sep 4, 2019

    @VicDeo
    Contributor

    I can't login to view a password protected share at all...
    When I enter an incorrect password I see a message in OC log. When the password is correct OC log is empty but the password popup still reappears.

  5. LukasHirt commented on Sep 4, 2019

    @LukasHirt
    Collaborator

    Fixed in #1895 there was missing getter for the password which broke the authorization header. Needed to fix it in order for the other PR to fully work so I went ahead and did it there.

  6. LukasHirt commented on Sep 4, 2019

    @LukasHirt
    Collaborator

    I can't login to view a password protected share at all...
    When I enter an incorrect password I see a message in OC log. When the password is correct OC log is empty but the password popup still reappears.

    @VicDeo Hmm, that is strange. Do you get some errors in the browser console? Or the network tab?

  7. VicDeo commented on Sep 5, 2019

    @VicDeo
    Contributor

    @LukasHirt I sorted it out already, I had a browser a naggy auth popup there that has nothing to do with a real auth page. The auth page was loaded after I clicked 'Cancel' in this popup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority:p1-urgentTopic:SecurityType:Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions