Review TYPO3_6-2 Merged

37366[BUGFIX] Escape regex chars when building sWordRegEx

Anja Leichsenring CR +2 V +2 Normal +85 −13 updated 02/28/15, 18:53

Commit message

The submitted sword_list GET parameters are parsed through
preg_quote() when loaded into  TSFE->sWordRegEx to prevent
invalid regular expressions.

The initialization is moved to a seperate method
PageGenerator::initializeSearchWordDataInTsfe() and unit
tests are added.

Review

  • Code review CR +2
    • Nicole Hummel +2
  • Verified V +2
    • Nicole Hummel +2

Issues 1

Files 3

Review log 3

  1. Anja Leichsenring uploaded patch set 1 02/28/15, 18:46

  2. Nicole Hummel commented on patch set 1 CR +2 V +2 02/28/15, 18:53

    Verified by running unit tests
  3. Nicole Hummel merged patch set 1 02/28/15, 18:53