Bug #45898
URL generation broken for absolute local storage paths
Status: | Closed | Start date: | 2013-02-27 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | File Abstraction Layer (FAL) | Spent time: | - | |
Target version: | 6.0.5 | |||
TYPO3 Version: | 6.0 | Is Regression: | No | |
PHP Version: | Sprint Focus: | |||
Complexity: |
Description
When having a local storage with a path outside the site path, the URL cannot be generated currently, as it has to be absolute and there is neither a configuration field for the base URL nor code inside the local driver to generate a URL with this base URL.
The field should be added to the flexform of the local driver, as we cannot ship database updates in minor versions (like 6.0.3). Additionally, this field might not be required for all drivers, so it's not absolutely necessary to have it in the storages table directly.
Related issues
History
#1 Updated by Andreas Wolf over 2 years ago
- Status changed from New to Accepted
#2 Updated by Andreas Wolf over 2 years ago
- Target version changed from 6.0.3 to 6.0.5
#3 Updated by Benjamin Mack over 1 year ago
- Is Regression set to No
Hey Andreas,
I consider this difficult as hard-coding public URLs in FlexForms is nasty - see server setups with different contexts (Staging, Production) and with multiple domains in one installation but all using the same storage. However, I don't know any other good solution here either.
#4 Updated by Frans Saris about 1 year ago
- Status changed from Accepted to Closed
Storages outside webroot is posible since 6.2