Project

General

Profile

Actions

Bug #71246

closed

TS: typolink to FAL reference produces double slash

Added by Simon Würstle over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2015-11-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you set config.absRefPrefix to "/" or to "auto", the following TS Snippet produces a double slash in the anchor href tag:

10 = TEXT
10 {
    value = Foo
    typolink.parameter.cObject = FILES
    typolink.parameter.cObject {
        maxItems = 1
        references {
            table = pages
            uid.field = uid
            fieldName = media
        }
        renderObj = IMG_RESOURCE
        renderObj.file.import.data = file:current:originalUid // file:current:uid
    }
}

Result: href="//fileadmin/user_upload/foobar.jpg"

It works with 6.2.15 but not with 7.5.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #71435: Revert of #69516 - [BUGFIX] IMG_RESOURCE does not prepend absRefPrefixClosed2015-11-09

Actions
Is duplicate of TYPO3 Core - Bug #70718: cObj imageLinkWrap with absRefPrefix and linkParams result in wrong URLClosed2015-10-14

Actions
Actions #1

Updated by Mathias Schreiber over 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF