mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Fix potential XSS injection
This commit is contained in:
parent
fd755a7ff9
commit
6fabd0122b
@ -129,7 +129,7 @@ class ChangePasswordForm extends Form {
|
|||||||
_t(
|
_t(
|
||||||
'Member.INVALIDNEWPASSWORD',
|
'Member.INVALIDNEWPASSWORD',
|
||||||
"We couldn't accept that password: {password}",
|
"We couldn't accept that password: {password}",
|
||||||
array('password' => nl2br("\n".$isValid->starredList()))
|
array('password' => nl2br("\n".Convert::raw2xml($isValid->starredList())))
|
||||||
),
|
),
|
||||||
"bad",
|
"bad",
|
||||||
false
|
false
|
||||||
|
Loading…
Reference in New Issue
Block a user