fix: prevent reuse of old attacks by re-POSTing same values

This commit is contained in:
Martin Ambrus
2017-11-24 10:17:54 +01:00
parent c06c62ba6a
commit 12fe632bf4
3 changed files with 14 additions and 0 deletions
+4
View File
@@ -552,6 +552,10 @@ class Units {
header( "Location: a2b.php" );
exit;
}
// prevent re-use of the same attack via re-POSTing the same data
$database->remA2b($data['id']);
header( "Location: build.php?id=39" );
exit;