mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
BUGFIX Fixed XSS vulnerability in BlogTree? when filtering by tags
This commit is contained in:
parent
0b8e5d46fc
commit
4971fb4730
@ -297,7 +297,7 @@ class BlogTree_Controller extends Page_Controller {
|
||||
* @return String
|
||||
*/
|
||||
function SelectedTag() {
|
||||
return ($this->request->latestParam('Action') == 'tag') ? $this->request->latestParam('ID') : '';
|
||||
return ($this->request->latestParam('Action') == 'tag') ? Convert::raw2xml($this->request->latestParam('ID')) : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user