B
Brian Simmons
Hi,
Long story short: I've got a website built, and we moved it over to the
production server, which is an SSL-required (https://...) server.
A third party component that I'm using makes use of an <iframe>.
Unfortunately they set the SRC attribute to "".
This causes Internet Explorer to display a message box dialog warning about
this page contains non-secure and secure items, do you wish to display the
non-secure items, Y/N?
Very annoying as it happens on every page transition and having the
end-users switch their IE settings is not an option.
After some Googling, I discovered the ASP.net 2 menu control has the same
issue and Jerry Orman has the problem/solution listed on his blog:
http://blogs.msdn.com/jorman/archive/2006/02/06/526087.aspx
I contacted the 3rd party component vendor and they confirmed this issue was
a bug.
I'm not sure how long it's going to take them to fix the bug, and I need it
yesterday.
So, I'm wondering if this solution is possible and if so, how/where would I
do it?
I would like to capture the HTML output right before ASP.net hands it off to
IIS which sends it to the web browser.
And in that event where I capture the rendered HTML, do something like:
theHTMLOutput = theHTMLOutput.ToString().Replace(" src=\"\" ", "
src=\"https://mysite.com/blank.htm\" ")
Is it possible? Any tips/suggestions/code?
Thanks,
Brian
Long story short: I've got a website built, and we moved it over to the
production server, which is an SSL-required (https://...) server.
A third party component that I'm using makes use of an <iframe>.
Unfortunately they set the SRC attribute to "".
This causes Internet Explorer to display a message box dialog warning about
this page contains non-secure and secure items, do you wish to display the
non-secure items, Y/N?
Very annoying as it happens on every page transition and having the
end-users switch their IE settings is not an option.
After some Googling, I discovered the ASP.net 2 menu control has the same
issue and Jerry Orman has the problem/solution listed on his blog:
http://blogs.msdn.com/jorman/archive/2006/02/06/526087.aspx
I contacted the 3rd party component vendor and they confirmed this issue was
a bug.
I'm not sure how long it's going to take them to fix the bug, and I need it
yesterday.
So, I'm wondering if this solution is possible and if so, how/where would I
do it?
I would like to capture the HTML output right before ASP.net hands it off to
IIS which sends it to the web browser.
And in that event where I capture the rendered HTML, do something like:
theHTMLOutput = theHTMLOutput.ToString().Replace(" src=\"\" ", "
src=\"https://mysite.com/blank.htm\" ")
Is it possible? Any tips/suggestions/code?
Thanks,
Brian