Closed (fixed)
Project:
Ubercart
Version:
6.x-2.0-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Jul 2009 at 22:27 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lop commentedComment #2
Island Usurper commentedI don't think running check_plain() on the response is a good idea here. Any
&s in the name would be htmlencoded, and they wouldn't match anything in the database. db_query() with the %s automatically makes sure that the input won't harm the query or allow SQL injection.Otherwise, I think this looks like a good idea.
Comment #3
Island Usurper commentedComment #4
Island Usurper commentedHere's the patch without check_plain(). Somebody who has a PayPal sandbox set up, please review this.
Comment #5
Island Usurper commentedRather, here.
Comment #6
rszrama commentedCommitted w/ minor tweak of $country_state -> $zone and initializing the $zone_id variable.