mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-01 23:36:00 +00:00
Fix reflected xss. Thanks to Dennis.
This commit is contained in:
parent
194715260d
commit
9ea83bf875
@ -6,7 +6,7 @@
|
||||
$graphName = "";
|
||||
if (isset($_GET["graph"]))
|
||||
{
|
||||
$graphId = $_GET["graph"];
|
||||
$graphId = preg_replace( '/[\W]/', '', $_GET["graph"]);
|
||||
|
||||
$graphSampleListFile = $g_config['graphSavePath'] . $g_config['graphExamplesFile'];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user