List text values should be escaped, since they come directly from the model values
Fxies https://github.com/rainlab/user-plugin/pull/37
This commit is contained in:
parent
a4418aeab8
commit
320f7bfb1a
|
|
@ -774,7 +774,15 @@ class Lists extends WidgetBase
|
|||
//
|
||||
|
||||
/**
|
||||
* Process as boolean switch
|
||||
* Process as text, escape the value
|
||||
*/
|
||||
protected function evalTextTypeValue($record, $column, $value)
|
||||
{
|
||||
return htmlentities($value, ENT_QUOTES, 'UTF-8', false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Process as partial reference
|
||||
*/
|
||||
protected function evalPartialTypeValue($record, $column, $value)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue