Issue Bug Closed

#65358file://* links not accessible

Florian Wessels 02/26/15, 13:23 updated 10/02/18, 11:47

Description

All links pointing to something like file:// were interpreted as file-reference because of the keyword “file”.
Links will not be displayed in the FE and in the BE (link configurator) you will get an error message “file/*” not found.

Quick fix (don’t know if there is more to do):
_/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php (line 5756):_

if ($linkHandlerKeyword === 'file' && is_numeric($linkHandlerValue)) 

same condition in:
_/sysext/core/Classes/Database/SoftReferenceIndex.php (line 612)
/sysext/core/Classes/Html/RteHtmlParser.php (line 706)_

/sysext/recordlist/Classes/Browser/ElementBrowser.php (line 2314)

 } elseif (strpos($href, 'file:') !== FALSE && strpos($href, 'file://') === FALSE) {

TYPO3 version: 6.2.9

Reviews 4