Issue Bug Closed

#56927Regression: baseUri for LocalDriver is invalid for fallback storage

Alexander Stehlik 03/15/14, 00:16 updated 10/02/18, 11:58

Description

The baseUri in the LocalDriver contains a leading slash, when the absoluteBasePath equals PATH_site.

This is the case for the 0-storage (the fallback storage for non FAL file paths).

If the baseUri contains a leading slash the public URLs will contain two slashes at the beginning which browsers interpret as a schema-less URL and try to lookup the first part of the file path as hostname.

Reviews 2