Project

General

Profile

Actions

Bug #80229

closed

EXT:form - broken regexp in identifer escaping

Added by Martin Kutschker about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2017-03-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

In a character class the dash must be final to match.

So this /[^a-zA-Z0-9-_]/ should be /[^a-zA-Z0-9_-]/

Sidenote:

To avoid multiple underscores in a row /[^a-zA-Z0-9_-]+/ could be used.

Actions

Also available in: Atom PDF