Enable external public:// root.

Created on 2 April 2019, about 6 years ago
Updated 4 March 2025, about 1 month ago

Hi all,

Providing a patch to enable use of an external public:// root.
The patch was the result of requiring use of an S3 file system on my install.

The patch alters the following

# _responsive_favicons_normalise_path
Removes the use of PublicStream::basePath(), replaced with file_create_url('public://')
Handle path formatting depending on local/external files

# _responsive_favicons_validate_tags($html)
Validates tag href in context of being local/external

Hope this can help anyone in a similar situation, thanks!

Feature request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom JParkinson1991

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

Merge Requests

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