[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 10/46: remove direct access to superglobal
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 10/46: remove direct access to superglobal |
Date: |
Tue, 13 Jul 2021 05:01:50 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d8ef31964830416768b15f5a1bd2ed0a5453bf6d
Author: Dany <danydb@noalyss.eu>
AuthorDate: Wed Jun 9 11:06:44 2021 +0000
remove direct access to superglobal
---
include/modele.inc.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/modele.inc.php b/include/modele.inc.php
index 65a6dbe..4b30a5b 100644
--- a/include/modele.inc.php
+++ b/include/modele.inc.php
@@ -241,7 +241,7 @@ if (isset($_POST["FMOD_NAME"]))
}
// Show all available templates
require_once NOALYSS_INCLUDE.'/lib/sort_table.class.php';
-$url=$_SERVER['PHP_SELF']."?sa=list&action=".$_REQUEST['action'];
+$url=$_SERVER['PHP_SELF']."?".http_build_query(array("sa"=>"list","action"=>$http->request('action')));
$header=new Sort_Table();
$header->add(_("id"),$url," order by mod_id asc"," order by mod_id
desc","ia","id");
@@ -353,7 +353,7 @@ if ($sa == 'list')
$available.='</SELECT>';
}//if count !=0
?>
- <form action="admin-noalyss.php?action=modele_mgt" METHOD="post">
+ <form action="admin-noalyss.php?action=modele_mgt" METHOD="post"
onsubmit="waiting_box();return true;">
<TABLE>
<tr>
<td><?php echo _('Nom')?> </TD>
- [Noalyss-commit] [noalyss] branch master updated (c3cb742 -> b402537), Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 03/46: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 01/46: File cleaning, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 05/46: Document : add phpunit test, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 08/46: Cosmetic : add waiting_box when exporting, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 04/46: File cleaning, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 06/46: Move function to the noalyss_script.js, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 10/46: remove direct access to superglobal,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 02/46: File cleaning, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 07/46: ocument : add phpunit test, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 11/46: protect SQL, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 16/46: Improve email sent : check if file attached, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 15/46: Task #0001417: Reconnexion souple connect, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 09/46: Add waiting_box, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 17/46: Task #0001595: CA - liste d'opérations - pas de choix de l'execice., Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 19/46: clean code : remove useless comment, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 20/46: New #0001983: CA - permettre désactivation poste, Dany De Bontridder, 2021/07/13
- [Noalyss-commit] [noalyss] 18/46: Bug: possible to set an empy name for an Analytic plan, Dany De Bontridder, 2021/07/13