Skip to content
Permalink
Browse files Browse the repository at this point in the history
resolve xss vulnerability
  • Loading branch information
matthiasmullie committed Feb 28, 2012
1 parent 4462ca5 commit 9952201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/modules/error/actions/index.php
Expand Up @@ -72,6 +72,6 @@ protected function parse()
}

// assign the correct message into the template
$this->tpl->assign('message', BL::err(SpoonFilter::toCamelCase($errorType, '-')));
$this->tpl->assign('message', BL::err(SpoonFilter::toCamelCase(htmlspecialchars($errorType), '-')));
}
}

0 comments on commit 9952201

Please sign in to comment.