I have a fairly simple intranet-admin site on HTTPS.
__The stylesheets still load from HTTP (thus causing an "unsafe content" warning)__
When loading a page that contains both an AutoCompleteExtender and a CalendarExtender, the resulting page contains a reference to the HTTP (not HTTPS) CDN for the following stylesheets
```
<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Content/AjaxControlToolkit/Styles/Backgrounds.css">
<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Content/AjaxControlToolkit/Styles/Calendar.css">
```
Surely, these should either be using (href="https://ajax.aspnetcdn.com") or the automatic-prefix (href="//ajax.aspnetcdn.com")
Comments: There are currently no commits to the repo since Mar 17, so how are we to see your fix? I added the following code as a workaround, similar to yours, above. Stepping through the code shows it makes the proper changes, but when the scripts are rendered to the browser, they still include http://. Why? ``` protected void Application_Start(object sender, EventArgs e) { var bundles = new Bundle[] { BundleTable.Bundles.GetBundleFor("~/Scripts/AjaxControlToolkit/Bundle"), BundleTable.Bundles.GetBundleFor("~/Content/AjaxControlToolkit/Styles/Bundle") }; foreach (var bundle in bundles) { bundle.CdnPath = Regex.Replace(bundle.CdnPath, "^http:", "", RegexOptions.IgnoreCase); } BundleTable.Bundles.UseCdn = true; BundleConfig.RegisterBundles(BundleTable.Bundles); } ```
__The stylesheets still load from HTTP (thus causing an "unsafe content" warning)__
When loading a page that contains both an AutoCompleteExtender and a CalendarExtender, the resulting page contains a reference to the HTTP (not HTTPS) CDN for the following stylesheets
```
<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Content/AjaxControlToolkit/Styles/Backgrounds.css">
<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Content/AjaxControlToolkit/Styles/Calendar.css">
```
Surely, these should either be using (href="https://ajax.aspnetcdn.com") or the automatic-prefix (href="//ajax.aspnetcdn.com")
Comments: There are currently no commits to the repo since Mar 17, so how are we to see your fix? I added the following code as a workaround, similar to yours, above. Stepping through the code shows it makes the proper changes, but when the scripts are rendered to the browser, they still include http://. Why? ``` protected void Application_Start(object sender, EventArgs e) { var bundles = new Bundle[] { BundleTable.Bundles.GetBundleFor("~/Scripts/AjaxControlToolkit/Bundle"), BundleTable.Bundles.GetBundleFor("~/Content/AjaxControlToolkit/Styles/Bundle") }; foreach (var bundle in bundles) { bundle.CdnPath = Regex.Replace(bundle.CdnPath, "^http:", "", RegexOptions.IgnoreCase); } BundleTable.Bundles.UseCdn = true; BundleConfig.RegisterBundles(BundleTable.Bundles); } ```