This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Relative Resources over SSL working in Firefox, but trying to be non-SSL in Chrome Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Relative Resources over SSL working in Firefox, but trying to be non-SSL in Chrome" Watch "Relative Resources over SSL working in Firefox, but trying to be non-SSL in Chrome" New topic
Author

Relative Resources over SSL working in Firefox, but trying to be non-SSL in Chrome

Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

I'm using a JavaScript library that is applying a styles.css theme file from the JavaScript. I've debugged the code and it is creating a relative URL, so...



When this happens in Firefox, it loads just fine from the URL:



however, in Chrome, it is showing as non-SSL and Chrome is blocking it. Anyone ever had this issue before and know what might need be done to correct it?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
Is there a background image inside of the css file with a hard-coded http?
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

I figured it out, sort of:

http://stackoverflow.com/questions/12914885/grails-resources-302s-ssl-and-chrome
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Relative Resources over SSL working in Firefox, but trying to be non-SSL in Chrome
 
Similar Threads
How to debug an Android web app
How To Redirect After Post (was: Confirm window pop up for Firefox, IE but not Chrome)
dynamic handling of stylesheets
Struts 2 / Tiles / Tiny MCE
client side storage for firefox, chrome & IE