[wp-trac] [WordPress Trac] #21966: WordPress Bug - PHP Warning Message "Unable to parse URL"

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 23 17:48:59 UTC 2012


#21966: WordPress Bug - PHP Warning Message  "Unable to parse URL"
------------------------------------+-----------------------
 Reporter:  onetarek                |       Owner:
     Type:  defect (bug)            |      Status:  reopened
 Priority:  normal                  |   Milestone:  3.5
Component:  Warnings/Notices        |     Version:  3.4.2
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------

Comment (by scribu):

 Sergey, I don't think running the previous filtering code adds any
 protection:

 {{{
 $value = strip_tags( $value );
 $value = wp_kses_data( $value );
 }}}

 since it's then chopped up and ran through esc_url_raw() anyway.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21966#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list