Skip to content

Commit

Permalink
[security] Content spoofing on url.php
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information
lem9 committed Oct 20, 2015
1 parent 1113ba0 commit 2b31866
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion url.php
Expand Up @@ -32,7 +32,8 @@
}
</script>";
// Display redirecting msg on screen.
printf(__('Taking you to %s.'), htmlspecialchars($_GET['url']));
// Do not display the value of $_GET['url'] to avoid showing injected content
echo __('Taking you to the target site.');
}
die();
?>

0 comments on commit 2b31866

Please sign in to comment.