Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: stylesheets (via CDN) not loaded via HTTPS [27780]

$
0
0
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: __Nekno__, here is the [change set](https://ajaxcontroltoolkit.codeplex.com/SourceControl/changeset/1069dbebc8764d9d6441149eeb147e82e7044b73) you are interested in. Try this, it works fine for me: void Application_Start(object sender, EventArgs e) { . . . . BundleTable.Bundles.UseCdn = true; // To enable CDN var scripts = BundleTable.Bundles.GetBundleFor("~/Scripts/AjaxControlToolkit/Bundle"); scripts.CdnPath = "https://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Bundle.js"; var styles = BundleTable.Bundles.GetBundleFor("~/Content/AjaxControlToolkit/Styles/Bundle"); styles.CdnPath = "https://ajax.aspnetcdn.com/ajax/act/15.1.1/Content/AjaxControlToolkit/Styles/Bundle.css"; }

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>