Ticket #25 (closed Bug: fixed)
active record escaping - problems with numeric fields
| Reported by: | Tido | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0 |
| Component: | Version: | ||
| Keywords: | database, active record | Cc: |
Description
many active record functions (if not all active record functions) don’t escape the fieldnames properly, which often produces sql errors when using numeric fieldnames, which have to be escaped (when iterating/computing its generally a good idea to use numeric field names, so this should be supported by codeigniter, too)
this bug applies to the query helper functions (http://codeigniter.com/user_guide/database/helpers.html), too and is somewhat connected with this bug http://codeigniter.com/bug_tracker/bug/1818/ but still no duplicate, as 1818 is more about “empty values” than escaping numeric fieldnames.
Change History
Note: See
TracTickets for help on using
tickets.
