- Issue created by @ivnish
There is theoretically no need to patch that file, if you enter this line in the HTTP-Header textarea under Stage File proxy Settings in the UI then it has the same effect:
User-Agent|Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36
Or did you try this and it failed for you?
- ivnish Kazakhstan
I missed this field :) But I'm trying it now and your suggestion doesn't work
The code from
https://git.drupalcode.org/project/stage_file_proxy/-/blob/2.1.x/src/Eve...
doesn't execute. I think we missed using proxy_headers settings when StageFileProxySubscriber was created.
I created a MR with a fix
- Merge request !65StageFileProxySubscriber doesn't use proxy_headers settings β (Closed) created by ivnish
- Status changed to Needs review
8 months ago 7:26am 24 March 2024 -
smustgrave β
committed 4bcfdf07 on 3.0.x
Issue #3426029 by ivnish: StageFileProxySubscriber doesn't use...
-
smustgrave β
committed 4bcfdf07 on 3.0.x
- Status changed to Fixed
6 months ago 11:20pm 30 May 2024 - πΊπΈUnited States smustgrave
Planning an alpha1 release for 3.0.x here soon which will include this.
Automatically closed - issue fixed for 2 weeks with no activity.