Bug #65358
closedfile://* links not accessible
100%
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
Files
Updated by Nicole Cordes almost 10 years ago
- Status changed from New to In Progress
- Assignee set to Nicole Cordes
Updated by Gerrit Code Review almost 10 years ago
- Status changed from In Progress 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 http://review.typo3.org/37329
Updated by Nicole Cordes almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset afef2225aaad1871eec696278e390f6ae5913056.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37365
Updated by Nicole Cordes almost 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset 9bfc33039a7d567cf6db7c4f4e947fbd35bc5d6b.
Updated by Gerrit Code Review almost 10 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 http://review.typo3.org/37370
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37378
Updated by Nicole Cordes almost 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset ff47cafc04ebd25e529afe2e98ae5978342699d2.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37378
Updated by Nicole Cordes almost 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset 75302dfe7cde95eca494c0a482236593a3f933c8.
Updated by Jörg Wagner almost 10 years ago
While the current patch fixes the FE rendering it still leaves the problem that RTE messes up any file:// links.
So once entered in RTE and saved, the links render correctly in FE but are a mess when re-opened in RTE.
I have created a new bug report with a fix for this related issue: #65482