git://git.onelab.eu
/
plewww.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
brute-force changed access to $_GET['key'] to use get_array instead
[plewww.git]
/
planetlab
/
nodes
/
node.php
diff --git
a/planetlab/nodes/node.php
b/planetlab/nodes/node.php
index
220f508
..
61c9db4
100644
(file)
--- a/
planetlab/nodes/node.php
+++ b/
planetlab/nodes/node.php
@@
-23,7
+23,7
@@
require_once 'plc_objects.php';
// --------------------
// recognized URL arguments
-$node_id=intval(
$_GET['id']
);
+$node_id=intval(
get_array($_GET, 'id')
);
if ( ! $node_id ) { plc_error('Malformed URL - id not set'); return; }
////////////////////