Project

General

Profile

Actions

Bug #81486

closed

eID=dumpFile does not take config.absRefPrefix into account

Added by Xavier Perseguers almost 7 years ago. Updated over 5 years ago.

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.


Related issues 1 (0 open1 closed)

Precedes TYPO3 Core - Bug #81944: Invalid asset prefix when installed in a subdirectoryClosed2017-07-24

Actions
Actions

Also available in: Atom PDF