mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
[SS-2016-016] FIX Properly escape backURL for template injection
This commit is contained in:
parent
c914dde7d1
commit
17097a4d11
@ -204,7 +204,7 @@ PHP
|
|||||||
'<p>Login success. If you are not automatically redirected '.
|
'<p>Login success. If you are not automatically redirected '.
|
||||||
'<a target="_top" href="{link}">click here</a></p>',
|
'<a target="_top" href="{link}">click here</a></p>',
|
||||||
'Login message displayed in the cms popup once a user has re-authenticated themselves',
|
'Login message displayed in the cms popup once a user has re-authenticated themselves',
|
||||||
array('link' => $backURL)
|
array('link' => Convert::raw2att($backURL))
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user