The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Browser thinks I am requesting insecure style sheet, but I am not
George L Smyth
post Oct 18 2018, 02:57 PM
Post #1





Group: Members
Posts: 5
Joined: 8-January 14
Member No.: 20,196



The style sheet of https://www.dripinvesting.org/articles/default_test.asp is not loading.

Chrome's developer is telling me, "Mixed Content: The page at 'https://www.dripinvesting.org/articles/default_test.asp' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.dripinvesting.org/styles/styles.css'. This request has been blocked; the content must be served over HTTPS."

However, I am requesting it as such: "link href='https://dripinvesting.org/styles/styles.css' rel='stylesheet' media='only screen and (min-width: 250px)'"

This is the only call to the spreadsheet.

Any idea why the browser is thinking that I am requesting http and any idea how I might be able to fix this?

Thanks -

george

This post has been edited by George L Smyth: Oct 18 2018, 02:59 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
George L Smyth
post Oct 18 2018, 03:31 PM
Post #2





Group: Members
Posts: 5
Joined: 8-January 14
Member No.: 20,196



I fixed this by creating a relative path.

george
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 18 2018, 05:17 PM
Post #3


.
********

Group: WDG Moderators
Posts: 7,961
Joined: 10-August 06
Member No.: 7



QUOTE(George L Smyth @ Oct 18 2018, 09:57 PM) *

Chrome's developer is telling me, "Mixed Content: The page at 'https://www.dripinvesting.org/articles/default_test.asp' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.dripinvesting.org/styles/styles.css'. This request has been blocked; the content must be served over HTTPS."

Don't know if one should laugh or cry at Google/Chrome's idiocy (and hypocrisy --requiring connnections to be "secure" while nobody spies as much as Google itself). I choose this as a compromise: IPB Image

QUOTE
However, I am requesting it as such: "link href='https://dripinvesting.org/styles/styles.css' rel='stylesheet' media='only screen and (min-width: 250px)'"

Seems https://dripinvesting.org/styles/styles.css redirects to http://www.dripinvesting.org/styles/styles.css for some reason (note the added www and lost https).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 18 2018, 08:13 PM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,091
Joined: 9-August 06
Member No.: 6



Yeah. But this isn't limited to Chrome. It is how it works with SSL.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 19 2018, 04:53 AM
Post #5


.
********

Group: WDG Moderators
Posts: 7,961
Joined: 10-August 06
Member No.: 7



QUOTE(pandy @ Oct 19 2018, 03:13 AM) *

Yeah. But this isn't limited to Chrome. It is how it works with SSL.

True, browsers have always warned about mixed content.

I was ranting about the new warnings for all HTTP web pages, but maybe that's not the issue here after all.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 9th December 2018 - 07:02 PM