[svn r14725] call remove_XSS for some $_GET values

skala
Eric Marguin 17 years ago
parent c959afd9d3
commit 64fdb34ffe
  1. 7
      main/user/userInfo.php

@ -1,4 +1,4 @@
<?php // $Id: userInfo.php 14712 2008-04-01 19:56:23Z yannoo $
<?php // $Id: userInfo.php 14725 2008-04-02 15:31:22Z elixir_inter $
/*
==============================================================================
Dokeos - elearning and course management software
@ -123,6 +123,11 @@ include ("userInfoLib.php");
$displayMode = "viewContentList";
$removeDef = Security::remove_XSS($_GET['removeDef']);
$editDef = Security::remove_XSS($_GET['editDef']);
$moveUpDef = Security::remove_XSS($_GET['moveUpDef']);
$moveDownDef = Security::remove_XSS($_GET['moveDownDef']);
if ($allowedToEditDef)
{
if (!empty($_POST['submitDef']))

Loading…
Cancel
Save