Skip to content

Commit

Permalink
fix code execution filter
Browse files Browse the repository at this point in the history
in avatar upload
  • Loading branch information
philippK-de committed Feb 5, 2015
1 parent 07c22ee commit 9ce6301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manageuser.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
die();
}
// don't upload php scripts
if ($erweiterung == "php" or $erweiterung == "pl") {
if (stristr($erweiterung,"php") or $erweiterung == "pl") {
$loc = $url . "manageuser.php?action=profile&id=$userid";
header("Location: $loc");
die();
Expand Down

0 comments on commit 9ce6301

Please sign in to comment.