Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Escape platform parameter
Browse files Browse the repository at this point in the history
Fixes Issue #112
  • Loading branch information
DerAndereAndi committed Jan 23, 2014
1 parent 264f388 commit 9ff40cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/crash_v300.php
Expand Up @@ -268,7 +268,7 @@ function ValidateString($string, $options) {
} else if ($reader->name == "log" && $reader->nodeType == XMLReader::ELEMENT) {
$crashes[$crashIndex]["logdata"] = reading($reader, "log");
} else if ($reader->name == "platform" && $reader->nodeType == XMLReader::ELEMENT) {
$crashes[$crashIndex]["platform"] = reading($reader, "platform");
$crashes[$crashIndex]["platform"] = mysql_real_escape_string(reading($reader, "platform"));
}
}

Expand Down

0 comments on commit 9ff40cc

Please sign in to comment.