BUGFIX Fixed XSS vulnerability in BlogTree? when filtering by tags

This commit is contained in:
Saophalkun Ponlu 2010-10-03 21:44:57 +00:00
parent 0b8e5d46fc
commit 4971fb4730
1 changed files with 1 additions and 1 deletions

View File

@ -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')) : '';
}
/**