Project

General

Profile

Actions

Bug #65358

closed

file://* links not accessible

Added by Florian Wessels about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2015-02-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #60226: Content Element header_link to a page also adds a references to the file with same idClosedNicole Cordes2014-07-10

Actions
Related to TYPO3 Core - Bug #65482: file:///* links messed up in RTE when savingClosed2015-03-03

Actions
Related to TYPO3 Core - Bug #66085: file link could not be modified anymoreClosed2015-03-27

Actions
Actions #1

Updated by Nicole Cordes about 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Nicole Cordes
Actions #2

Updated by Gerrit Code Review about 9 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

Actions #3

Updated by Nicole Cordes about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Gerrit Code Review about 9 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

Actions #5

Updated by Nicole Cordes about 9 years ago

  • Status changed from Under Review to Resolved
Actions #6

Updated by Gerrit Code Review about 9 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

Actions #7

Updated by Gerrit Code Review about 9 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

Actions #8

Updated by Nicole Cordes about 9 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Gerrit Code Review about 9 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

Actions #10

Updated by Nicole Cordes about 9 years ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Jörg Wagner about 9 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

Actions #12

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF