Project

General

Profile

Actions

Bug #80229

closed

EXT:form - broken regexp in identifer escaping

Added by Martin Kutschker over 7 years ago. Updated about 7 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 #1

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51996

Actions #2

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51996

Actions #3

Updated by Ralf Zimmermann over 7 years ago

  • Subject changed from broken regexp in identifer escaping of EXT:form to EXT:form - broken regexp in identifer escaping
Actions #4

Updated by Anonymous over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF