Issue Bug Closed

#17001config.linkVars check doesn't allow negative ranges

Oliver Hader 02/17/07, 11:05 updated 09/05/13, 09:24

Description

The newly introduced linkVars check in TYPO3 4.1 doesn’t allow negative ranges.

Example:
config.linkVars = my_variable(1-5) is valid
config.linkVars = my_variable(-1-5) doesn’t work
config.linkVars = my_variable(-1—3) doesn’t work and looks very ugly

I suggest to use “..” as delimiter, e.g.
config.linVars = my_variable(-1..-3)

Possibly it is allowed in TYPO3 4.2 to use config.linkVars = tx_myext_pi1[var](1..-3), but we should change the delimiter from “” to “..” now.
(issue imported from #M5009)

Reviews 0

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