Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2008 at 22:00 UTC
Updated:
15 Mar 2010 at 18:23 UTC
Data must be sanitized by using string format when calling db_query().
| Comment | File | Size | Author |
|---|---|---|---|
| sql_sanitizing.patch | 3.18 KB | yrocq |
Comments
Comment #1
merlinofchaos commentedThis isn't really a bug; at best it's a coding style violation, though $view->vid is guaranteed to be safe because it's always created by db_next_id(). But, sure.
Comment #2
sunThose quotes surrounding placeholders are basically wrong though, since %d doesn't refer to a string:
Comment #3
esmerel commentedNo updated patch submitted; no work being done on 1.x