Actions
Bug #81810
closed"," not possible in regex of config.linkVars
Start date:
2017-07-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
On Location Sprint
Description
The TypoScript setting config.linkVars
contains Link parameters with a regex of possible values. The parameters are seperated by a ,
.
The implementation does explode the string by ,
to get an array of paramters and there values.
But this fails if the regex does containe a ,
character and ends up in broken params and values.
e.g. config.linkVars = country(/^[a-z]{2,3}$/),L(0-12)
is not possible as the string is also exploded at {2,3}
.
Instead of country(/^[a-z]{2,3}$/)
L(0-12)
the string is exploded tocountry(/^[a-z]{2
3}$/)
L(0-12)
Actions