Browser thinks I am requesting insecure style sheet, but I am not |
Browser thinks I am requesting insecure style sheet, but I am not |
George L Smyth |
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 |
George L Smyth |
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 |
Christian J |
Oct 18 2018, 05:17 PM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
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: 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). |
pandy |
Oct 18 2018, 08:13 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Yeah. But this isn't limited to Chrome. It is how it works with SSL.
|
Christian J |
Oct 19 2018, 04:53 AM
Post
#5
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
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. |
Lo-Fi Version | Time is now: 24th April 2024 - 06:28 AM |