Issue Bug Rejected

#85945AdminPanel: Missing absRefPrefix on cached requests

Daniel Haupt 08/23/18, 15:33 updated 10/25/19, 22:44

Description

I use only config.absRefPrefix=1 in my TYPO3 instance without setting any baseUrl. Also, I’m using the extension CoolUri for speaking URLs (without speaking URLs this issue doesn’t appear).

This leads to the error that the admin panel is not displayed on cached requests, as the line which sets e.g. the JavaScript resource URL

$frontendPathExtBackend = htmlspecialchars($this->getTypoScriptFrontendController()->absRefPrefix) . ExtensionManagementUtility::siteRelPath('backend');

So using the admin panel in development mode works fine while using it in production mode does not because all resources (JS and CSS) are missing the “/” of the absRefPrefix.

And again: This issue only applies to instances with speaking URLs and without defining a base URL.

Because of the rewrite of the admin panel in v9, I’m not sure if the issue will still exist over there.

Reviews 1