﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16560,let wp_enqueue_script and wp_enqueue_style use '//' as scheme,mimecine,nacin,"{{{
#!html
<p>When loading external resources, most browsers (need to be confirmed) will auto select between https:// and http://  if the url-scheme is simply //.  For example, //ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js  would load over https if the containing page was https itself, but over http if wasn't.</p>

<p>class.wp-scripts.php and class.wp-styles.php does a regex check for ^https?:// to determine if it is an external resource or not, but should really use ^(https?:)?//  - or even ^(\w+:)?// (since some loony *could* use ftp for example). </p>
}}}",enhancement,closed,normal,3.5,General,3.1,normal,fixed,has-patch 3.4-early commit,toni.viemero@… kpayne@…
