Actions
Bug #81486
closedeID=dumpFile does not take config.absRefPrefix into account
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-06-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
How to reproduce¶
- Enable EXT:realurl for your website
- Ensure you don't use
config.baseURL
- Set
config.absRefPrefix = /
(or any other value, according to your actual configuration - Edit fileadmin file storage properties and set "is publicly available" to false under tab "Access capabilities"
- From any subpage (at any level) of your website, insert an image
What happens¶
Since the storage folder is not publicly available, instead of having
<img src="/fileadmin/path/to/image.jpg" ...
TYPO3 generates
<img src="index.php?eID=dumpFile&...
Problem¶
On Apache, it looks like the rewrite configuration provided by TYPO3 seems to handle the missing "/" before "index.php" but the "/" is missing nevertheless, and may fail, e.g., on Nginx.
Actions