Issue Feature Closed

#21417TypoScript: page.config.additionalHeaders: Lack of flexibility because of data type string

Christopher Klein 11/01/09, 16:57 updated 09/17/13, 15:50

Description

The field page.config.additionalHeaders should have a stdWrap functionality:

At the moment you are not able to dynamically assign values to page.config.additionalHeaders because it is of data type string. Using stdWrap you could achieve more flexibility.

Example (I wanted to use this for one of my extensions):

redirectURL = COA
redirectURL {
1 = TEXT
1.value = Location: index.php?id={$loginPID}&redirect_url=
2 = TEXT
2.data = getIndpEnv:TYPO3_REQUEST_URL
2.rawUrlEncode = 1
}
page.config.additionalHeaders.stdWrap.cObject = redirectURL

This currently impossible. You can only assign strings.

(issue imported from #M12424)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.