LimeSurvey API - Master branch

LSYii_NonFormulaValidator extends CValidator
in package

Validator class for potential CSV injection attacks.

Checks the value doesn't start with =, +, -, @, TAB, or Carriage Return.

Table of Contents

Constants

NON_FORMULA_REGEX  = '/^[=\\+\\-\\@\\t\\r]/'

Methods

validateAttribute()  : mixed

Constants

Methods

validateAttribute()

public validateAttribute(mixed $object, mixed $attribute) : mixed
Parameters
$object : mixed
$attribute : mixed

        
On this page

Search results