Wordpress 3.5.2
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-importer.php
index 0cfc9fe8abb766969034196d3b32546163aa0e6c..0268e7e6ee39835349edcf2a21d768a3091818ba 100644 (file)
@@ -183,6 +183,7 @@ class WP_Importer {
 
                $headers = array();
                $args = array();
+               $args['reject_unsafe_urls'] = true;
                if ( true === $head )
                        $args['method'] = 'HEAD';
                if ( !empty( $username ) && !empty( $password ) )