Skip to content

Commit e24c5ba

Browse files
authored
[TASK] Harden TCA file regex (#5320)
Releases: main, 13.4
1 parent c9860f3 commit e24c5ba

File tree

1 file changed

+4
-4
lines changed
  • Documentation/ExtensionArchitecture/FileStructure/Configuration/TCA

1 file changed

+4
-4
lines changed

Documentation/ExtensionArchitecture/FileStructure/Configuration/TCA/Index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ All files in this directory are automatically included during the TYPO3
3131
`Configuration/TCA/<tablename>.php`
3232
===================================
3333

34-
.. typo3:file:: <tablename>.php
34+
.. typo3:file:: tablename.php
3535
:name: configuration-tca
3636
:scope: extension
37-
:path: /Configuration/TCA
38-
:regex: /^.*Configuration\/TCA\/.*\.php$/
37+
:path: /Configuration/TCA/
38+
:regex: /^.*Configuration\/TCA\/[\w]+\.php$/
3939
:shortDescription: Contains the TCA (Table Configuration Array), which initially defines the table <tablename>. Change TCA of existing tables in directory TCA/Overrides
4040

4141
One file per database table, using the name of the table for the file, plus
@@ -51,7 +51,7 @@ All files in this directory are automatically included during the TYPO3
5151
:name: configuration-tca-overrides
5252
:scope: extension
5353
:path: /Configuration/TCA/Overrides
54-
:regex: /^.*Configuration\/TCA\/Overrides\/.*\.php$/
54+
:regex: /^.*Configuration\/TCA\/Overrides\/[\w]+\.php$/
5555
:shortDescription: Extends the TCA (Table Configuration Array) of a table
5656

5757
For extending existing tables.

0 commit comments

Comments
 (0)