This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302
    
    6

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?


GenRocket - Experts at Building Test Data
Eric Pascarello
author
Rancher

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

Joined: Jul 11, 2001
Posts: 15302
    
    6

I figured it out, sort of:

http://stackoverflow.com/questions/12914885/grails-resources-302s-ssl-and-chrome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Relative Resources over SSL working in Firefox, but trying to be non-SSL in Chrome
 
It's not a secret anymore!