2
votes

I need to check the protocol with the Symfony Expression Langange in TypoScript conditions.

The old syntax is [globalString = IENV:TYPO3_SSL=1]

But in the documentation, there is no mention of TYPO3_SSL.

https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Conditions/

1

1 Answers

3
votes

Starting with TYPO3 ver.: 9.4 and next, this can be used as a replacement:

[request.getNormalizedParams().isHttps() == true]

Here are some more references for migrating TypoScript conditions: