Project

General

Profile

Actions

Bug #81810

closed

"," not possible in regex of config.linkVars

Added by Sascha Egerer almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
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 to
country(/^[a-z]{2
3}$/)
L(0-12)

Actions

Also available in: Atom PDF