Issue Bug Closed

#81486eID=dumpFile does not take config.absRefPrefix into account

Xavier Perseguers 06/06/17, 16:56 updated 10/02/18, 11:00

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.

Reviews 3