[wp-trac] [WordPress Trac] #19861: $wpdb->prepare() fails with localized floats
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 31 09:21:47 UTC 2012
#19861: $wpdb->prepare() fails with localized floats
--------------------------+-----------------------
Reporter: laotse | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.5
Component: Database | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------
Comment (by SergeyBiryukov):
Replying to [comment:16 nacin]:
> Could a query string with "%f" -- not meant as a float replacement -- be
broken in this regard?
Yes, an escaped `%%f` is currently altered as well.
[attachment:19861.5.patch] adds a lookbehind.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19861#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list