Ticket #21974: 21974.2.patch
File 21974.2.patch, 537 bytes (added by , 12 years ago) |
---|
-
wp-includes/formatting.php
2632 2632 2633 2633 if ( ! is_array( $protocols ) ) 2634 2634 $protocols = wp_allowed_protocols(); 2635 $good_protocol_url = wp_kses_bad_protocol( $url, $protocols );2635 $good_protocol_url = ( '/' != $url[0] ) ? wp_kses_bad_protocol( $url, $protocols ) : $url; 2636 2636 if ( strtolower( $good_protocol_url ) != strtolower( $url ) ) 2637 2637 return ''; 2638 2638