Stage file proxy support for basic auth origin sites

Created on 1 June 2017, almost 8 years ago
Updated 4 May 2023, almost 2 years ago

Hi.

I have installed in my drupal site stage file proxy to fetch files from a preproduction environment. That environment is protected with basic auth. So I've configured the module adding basic auth like this 'http://username:password@example-preprod.com'. But it didn't fetched any file.

Seeing the watchdog entries i've seen even I add basic auth is being excluded in the request.

Example:

GuzzleHttp\Exception\ClientException: Client error: `GET http://example-preprod.com/sites/default/files/2017-02/example.jpg` resulted in a `401 Unauthorized`

Feature request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇪🇸Spain omarlopesino

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024