noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/05: security : check id


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/05: security : check id
Date: Sat, 10 Jan 2015 12:00:08 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit de78b251357e22305a70aca2063178849064e6db
Author: Dany De Bontridder <address@hidden>
Date:   Sat Jan 10 12:43:07 2015 +0100

    security : check id
---
 html/show_pj.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/html/show_pj.php b/html/show_pj.php
index 8cba438..faf4841 100644
--- a/html/show_pj.php
+++ b/html/show_pj.php
@@ -45,6 +45,7 @@ global $g_user;
 $g_user=new User($cn);
 $g_user->Check();
 $g_user->check_dossier($gDossier);
+if ( isNumber($jr_grpt_id) != 0 ) die (_('Données invalides'));
 
 // retrieve the jrn
 $r=$cn->exec_sql("select jr_def_id from jrn where jr_grpt_id=$jr_grpt_id");



reply via email to

[Prev in Thread] Current Thread [Next in Thread]