Skip to content

new file_get_contents method means pdfs protected by basic auth can't have generated images #21

Open
@richardfrankza

Description

@richardfrankza

Getting this error when uploading a PDF. My test site is under basic auth password protection

Please allow for both path based and URL based options?

2023-04-12 11:55:52 [web.ERROR] [yii\base\ErrorException:2] file_get_contents(https://exampleredacted.com/uploads/files/Invoice_1264_2023-04-14-1.pdf): Failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorize

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions