[wp-trac] [WordPress Trac] #4001: clean_url() adds "http://" to relative links

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 20 11:31:30 GMT 2007


#4001: clean_url() adds "http://" to relative links
---------------------+------------------------------------------------------
 Reporter:  donncha  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  high     |   Milestone:  2.2      
Component:  General  |     Version:           
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 clean_url() adds 'http://' to relative links like those found in the
 upload form. This patch checks if the first character is '/' before adding
 the protocol.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4001>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list