Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 May 2006 at 16:02 UTC
Updated:
31 May 2006 at 17:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedOh geez. I'm a dork, I completely forgot %s substitution would do that.
I'll try to fix that tonight.
Comment #2
eaton commentedSimple patch, though I'm not sure whether this is a security issue (we're not sending things through %s, now).
Comment #3
merlinofchaos commentedI think you're right, we need to run the entire array through db_escape_slashes I think, which may mean foregoing implode and constructing it manually.
Comment #4
yched commentedwhat about this patch ?
It's not that pretty, but it should ensure proper escaping. What do you think ?
Comment #5
yched commentedPS : array_fill is not used anywhere in core (nor in any contrib module I currently use...) so I doublechecked :
PHP manual says the function exists from PHP 4.2 on, which I guess means OK for us since drupal requirements are 4.3.3+.
Comment #6
merlinofchaos commentedCommitted this patch.
Comment #7
(not verified) commented