Skip to content

Commit

Permalink
Dev Installation was not possible
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Sep 21, 2017
1 parent bbd3f61 commit 40b92c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/core/LSYii_Validators.php
Expand Up @@ -130,7 +130,7 @@ public function xssFilter($value)

/** Start to get complete filtered value with url decode {QCODE} (bug #09300). This allow only question number in url, seems OK with XSS protection **/
$sFiltered=preg_replace('#%7B([a-zA-Z0-9\.]*)%7D#','{$1}',$filter->purify($value));
Yii::import('application.helpers.expressions.em_core_helper');// Already imported in em_manager_helper.php ?
Yii::import('application.helpers.expressions.em_core_helper',true);// Already imported in em_manager_helper.php ?
$oExpressionManager= new ExpressionManager;
/** We get 2 array : one filtered, other unfiltered **/
$aValues=$oExpressionManager->asSplitStringOnExpressions($value);// Return array of array : 0=>the string,1=>string length,2=>string type (STRING or EXPRESSION)
Expand Down

1 comment on commit 40b92c9

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be interesting to know what change make this happen … to installer ?

Please sign in to comment.