Better default base path in assets stream wrapper

Created on 13 April 2023, over 1 year ago
Updated 12 June 2023, over 1 year ago

Problem/Motivation

Split from πŸ“Œ Make css/js optimized assets path configurable Fixed

The public stream wrapper has some logic to magically determine the correct base path for files, we didn't copy that to the assets stream wrapper but it should probably be as close as possible.

This broke multisite installs without a configured file_public_path.

Steps to reproduce

1. Download Drupal 10.1 via composer
2. Create docroot/sites/www folder and copy docroot/sites/default files to new folder.
3. Update docroot/sites/sites.php to point to docroot/sites/www by default.
4. Install Drupal using standard profile.
5. See JS/CSS aggregated files not rendering.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

10.1 ✨

Component
BaseΒ  β†’

Last updated 6 minutes ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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