Bug #81486
closedeID=dumpFile does not take config.absRefPrefix into account
100%
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.
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53140
Updated by Markus Klein over 7 years ago
Requirements for the publicUrl functionality are:
- relative and absolute URLs (external storages will deliver absolute anyway, eg S3)
- folder-awareness (docroot, absrefPrefix)
- CLI compatibility
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53140
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53140
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53140
Updated by Gerrit Code Review over 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53140
Updated by Gerrit Code Review over 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53140
Updated by Gerrit Code Review over 7 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53140
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53439
Updated by Xavier Perseguers over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 16171daefea7dceea06e13b5cbf06a15398ab490.
Updated by Xavier Perseguers over 7 years ago
- Precedes Bug #81944: Invalid asset prefix when installed in a subdirectory added
Updated by Gerrit Code Review over 7 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53789
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53789
Updated by Gerrit Code Review about 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53789
Updated by Gerrit Code Review about 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53789
Updated by Gerrit Code Review about 7 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53439
Updated by Helmut Hummel about 7 years ago
- Status changed from Under Review to Resolved
Applied in changeset 720739259ed837f774d9edb2b2a86b38e040fe96.