Project

General

Profile

Actions

Bug #45898

closed

URL generation broken for absolute local storage paths

Added by Andreas Wolf about 11 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-02-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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 1 (0 open1 closed)

Blocked by TYPO3 Core - Task #35858: Test and fix URL generationClosedAndreas Wolf2012-04-11

Actions
Actions #1

Updated by Andreas Wolf about 11 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Andreas Wolf about 11 years ago

  • Target version changed from 6.0.3 to 6.0.5
Actions #3

Updated by Benni Mack over 10 years 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.

Actions #4

Updated by Frans Saris almost 10 years ago

  • Status changed from Accepted to Closed

Storages outside webroot is posible since 6.2

Actions

Also available in: Atom PDF