Ticket #5188 (new enhancement)

Opened 1 year ago

Last modified 4 months ago

Additional DB sanitization functions

Reported by: markjaquith Assigned to: anonymous
Priority: normal Milestone: 2.9
Component: General Version:
Severity: normal Keywords:
Cc:

Description

For places where we build complex SQL queries by hand or where we let PHP control things like column names, limits, and ORDER BY order, we need some functions to consistently sanitize this data.

Proposed:

sanitize_column($column name);
sanitize_limit($limit_string);
sanitize_orderby_direction($desc_or_asc);

Any others?

Change History

03/19/08 16:55:49 changed by ffemtcj

  • milestone changed from 2.5 to 2.7.

No Patch. Moved to 2.7

08/06/08 17:34:24 changed by santosj

  • milestone changed from 2.7 to 2.9.

No patch moving to 2.9.