[Dojo-interest] Mixed content error and BackgoundIframe
Bill Keese
bill at dojotoolkit.org
Sat Apr 8 10:10:11 MDT 2006
Ugh, the never-ending <iframe src=""> problem :-).
> "<iframe "
> +"src=\"./\" "
> +">";
>
It looks to me like this will fire a GET request at the server.
Bill
Terry Field wrote:
> The mixed content error in IE when running under SSL is the bain of my life. SSL is a necessity for our application and most of our customers use IE. One way or another, this one is always biting me.
>
> I decided to add a Dialog widget to a page and found that it threw the mixed content error. I dug around and found that the problem arose from the dojo.html.BackgroundIframe constructor. Seems IE treats an iframe without a 'src' as being unsecure content. Go figure.
>
> Anyway, I have attempted a fix. I changed this code:
>
> var html=
> "<iframe "
> +"style='position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;"
> + "z-index: -1; filter:Alpha(Opacity=\"0\");' "
> +">";
>
>
> to :
>
> var html=
> "<iframe "
> +"style='position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;"
> + "z-index: -1; filter:Alpha(Opacity=\"0\");' "
> +"src=\"./\" "
> +">";
>
>
> Any committer willing to wire this one in?
>
> Terry Field.
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.opensymphony.com/thread.jspa?threadID=24985&messageID=48802#48802
>
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
--
Bill
More information about the Dojo-interest
mailing list