[wp-trac] [WordPress Trac] #12060: Asymmetric Slashing in [12052]
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 4 04:26:58 UTC 2010
#12060: Asymmetric Slashing in [12052]
--------------------------+-------------------------------------------------
Reporter: miqrogroove | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.2
Component: Query | Version: 2.9
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by miqrogroove):
I had some success patching the query(LIKE query()) type stuff, but
query(LIKE $_GET) is a huge problem. Because of the calls to
add_magic_quotes() in wp-settings.php, there is not a clean input path. I
would have to use an insane pattern query(LIKE
escape(like_escape(query($_GET)))) to recode the slashes after wp-settings
runs.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12060#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list