Skip to content

Commit

Permalink
removed XSS hole caused by "urldecode"
Browse files Browse the repository at this point in the history
  • Loading branch information
gbateson committed Sep 20, 2005
1 parent d27162c commit 7fc7e96
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mod/hotpot/show.php
Expand Up @@ -18,9 +18,6 @@
error("You are not allowed to view this page!");
}

// decode the reference (not usually necessary)
$params->reference = urldecode($params->reference);

if (isadmin()) {
$params->location = optional_param('location', HOTPOT_LOCATION_COURSEFILES);
} else {
Expand Down

0 comments on commit 7fc7e96

Please sign in to comment.