Skip to content

Commit

Permalink
Merge pull request #16 from paintballrefjosh/bug-fixes
Browse files Browse the repository at this point in the history
Fixed XSS exploit in install script
  • Loading branch information
Josh authored Mar 4, 2017
2 parents 6be7801 + 4509beb commit 4056a68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ function output_message($type, $text)
<div class="content">
<div class="content-header">
<?php

if(isset($_GET['step']))
{
$step = $_GET['step'];
$step = htmlspecialchars($_GET['step']);
}
else
{
Expand Down

0 comments on commit 4056a68

Please sign in to comment.