[phpwebapp-commits] CVS: top10/templates/confirm confirm.php,1.6,1.7
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-01-05 14:42:03
|
Update of /cvsroot/phpwebapp/top10/templates/confirm In directory sc8-pr-cvs1:/tmp/cvs-serv31213/templates/confirm Modified Files: confirm.php Log Message: Index: confirm.php =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/confirm/confirm.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** confirm.php 29 Dec 2003 15:56:38 -0000 1.6 --- confirm.php 5 Jan 2004 14:42:00 -0000 1.7 *************** *** 26,41 **** { $this->addSVar("file", "{{./}}blank.html"); ! $this->addSVar("request_id", $this->get_request_id()); $this->process_request(); - } - - function get_request_id() - { - $request_id = $_SERVER["QUERY_STRING"]; - - //ToDo: check for any possibility that a malicious request id - // can compromise the system; try to filter such requests - - return $request_id; } --- 26,31 ---- { $this->addSVar("file", "{{./}}blank.html"); ! $this->addSVar("request_id", $_SERVER["QUERY_STRING"]); $this->process_request(); } |