Project

General

Profile

Support #2084

Clean work.php to move queries to functions

Added by Yannick Warnier over 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
29/09/2010
Due date:
% Done:

0%

Estimated time:
4.00 h
Complexity:
Normal
SCRUM pts - complexity:
8

Description

It is dangerous and ugly to have queries in work.php as we cannot easily guarantee the maintenance of the security level of all parameters used.

Move all queries to functions inside work.lib.php and call them from work.php.
There are about 50 queries in total, most of which are probably repeated, and some of them might already have functions providing it.

The opening of this task is related to security issue #2082


Related issues

Related to Chamilo LMS - Bug #2082: Delete work filesBug resolved29/09/2010

Actions

History

#1

Updated by Yannick Warnier almost 7 years ago

  • Target version set to 1.9.2
#2

Updated by Yannick Warnier over 6 years ago

  • Target version changed from 1.9.2 to 1.9.4
#3

Updated by Julio Montoya over 6 years ago

  • Target version changed from 1.9.4 to 2.0

Too risky for 1.9.4 moving to 1.10

Also available in: Atom PDF