- Issue created by @mansoor aziz
- 🇬🇧United Kingdom steven jones
Thanks for the bug report. Please search the issue queue before filling new issues. This issue is a duplicate of ✨ Add option to force https on redirect url Active
- Status changed to Closed: duplicate
2 months ago 12:39pm 17 July 2025 - 🇬🇧United Kingdom colinstillwell
I've encountered this issue on 8.x-1.6, particularly when using the S3FS module in an HTTPS environment.
The problem stems from how S3FS changes the private file stream wrapper. As a result, the path is no longer relative, and generateString() returns a full URL — but with the incorrect http scheme, even when the site is served over HTTPS.
My patch ensures the final URL uses https, resolving the mixed content issue without modifying stream wrapper behaviour.
- 🇬🇧United Kingdom colinstillwell
Further to my previous comment, I might be wrong here. I did not realise that my local was upgraded from 8.x-1.5 to 8.x-1.6 when applying the patch.
I am going to proceed without the patch, test with 8.x-1.6 then will come back to this with my findings.