Skip to content
Permalink
Browse files Browse the repository at this point in the history
fix xss vulnerability
  • Loading branch information
matthiasmullie committed Feb 28, 2012
1 parent e45964a commit 1269fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/modules/error/actions/index.php
Expand Up @@ -64,7 +64,7 @@ protected function parse()
SpoonHTTP::setHeadersByCode(404);

// give a nice error, so we can detect which file is missing
echo 'Requested file (' . implode('?', $chunks) . ') not found.';
echo 'Requested file (' . htmlspecialchars($this->getParameter('querystring')) . ') not found.';

// stop script execution
exit;
Expand Down

0 comments on commit 1269fe8

Please sign in to comment.