Skip to content

Commit

Permalink
Fixed issue #9326: High memory usage if non-superadmin imports survey…
Browse files Browse the repository at this point in the history
… with acivated XSS filter
  • Loading branch information
c-schmitz committed Dec 19, 2014
1 parent 7956ca9 commit 5257b66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/core/LSYii_Validators.php
Expand Up @@ -151,6 +151,7 @@ public function xssFilter($value)
$sNewValue.="}";
}
}
gc_collect_cycles(); // To counter a high memory usage of HTML-Purifier
return $sNewValue;
}
/**
Expand Down

0 comments on commit 5257b66

Please sign in to comment.