Project

General

Profile

Actions

Bug #94646

closed

Site settings with slashes and dots produce erroneous TypoScript

Added by Helmut Hummel over 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-07-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

All site settings are exposed as TS Constants. However when this array contains keys with dots or slashes, it produces invalid TS code.

Expectation:

settings:
   example:
        foo/bar.baz: blupp

Should produce the following TS:

example.foo/bar\.baz = blupp

Actual result:

example.foo/bar.baz = blupp

And error messages that slashes are not allowed as TS keys

Actions

Also available in: Atom PDF