Review main Merged

51893[SECURITY] Prevent possible XSS in Fluid templates

Oliver Hader CR +2 V +2 Easy +3 −3 updated 02/28/17, 10:39

Commit message

This patch ensures proper encoding of the output of if-ViewHelpers when
using in inline notation.

The regular expression to find possibly affected usages is:
\{\s*f:if\s*\(.+,\s*(?:then|else):(?>\s*)[^']

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3