• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 439
  • Last Modified:

cfchart over SSL (https) 'Do you want to display the nonsecure items'?

Okay. We all know about the 'Do you want to display the nonsecure items?' deal in IE. (anyone who puts flash on an SSL page at least) And I know how to fix the problem for Flash objects I insert.

What about ColdFusion, though? I am using ColdFusion's cfchart tag to create custom charts for my customer. I am even using custom XML for styling them EXACTLY how I want them (this is very cool). These charts are great, except that now that I have changed my site over to SSL I get the infamous popup: "This page contains both secure and nonsecure items. Do you want to display the nonsecure items?"

Since ColdFusion generates the code and the "codebase" argument responsible for this popup, and since it ALWAYS puts the http:// link in there, is there anything I can do to keep this thing from popping up? My customers really need these charts but don't need the annoyance.

Should I contact Macromedia (Adobe) tech support and file a bug? I think it should be able to detect the URL of the site and automatically adjust to this. I would still like  a short term solution, though.


1 Solution
Check out the hack from MikerRoo on:

... or kill the flash, I guess :(
mobrien118Author Commented:
Although it took some time to find the solution in that page you linked to I modified that method to test whether or not the page is SSL and the way the find/replace works and used it. It seems to be the only fix for now but I wish Macromedia (Adobe) would just get it together and fix stuff like this. Sorry, Macromedia, I realize it is also a function of Microsoft because obviously a 'codebase' attribute, if it is not activated (i.e. the user is redirected to that page), is not a security threat. (or am I missing something?)

I will award you the points, USAChrisK1983.



Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now