[
https://issues.apache.org/jira/browse/PHOENIX-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494707#comment-14494707
]
Carl Hall edited comment on PHOENIX-1853 at 4/14/15 7:34 PM:
-------------------------------------------------------------
Hi [~mujtaba], excluding the protocol should assume the protocol used to load
the site. I tested this locally using {{python -m SimpleHTTPServer 8000}} and
everything loaded correctly from what I can tell. If I access the published
site by opening {{index.html}} in the browser, {{file:}} is used as the
protocol instead of {{http(s):}}. How did you test the script loading?
I use {{https}} as a general practice. [HTTPS
Everywhere|https://www.eff.org/https-everywhere] is a browser plugin I use to
handle this for me.
was (Author: thecarlhall):
Hi [~mujtaba], excluding the protocol should assume the protocol used to load
the site. I tested this locally using {{python -m SimpleHTTPServer 8000}} and
everything loaded correctly from what I can tell. If I access the published
site by opening {{index.html}} in the browser, {{file:}} is used as the
protocol instead of {{http(s):}}. How did you test the script loading?
I use {{https}} as a general practice. httpeverywhere is a browser plugin I
use to handle this for me.
> Remote artifacts on website use wrong protocol
> ----------------------------------------------
>
> Key: PHOENIX-1853
> URL: https://issues.apache.org/jira/browse/PHOENIX-1853
> Project: Phoenix
> Issue Type: Bug
> Reporter: Carl Hall
> Priority: Trivial
> Attachments: phoenix-1853-site.diff, phoenix-1853.diff
>
>
> When accessing https://phoenix.apache.org, the remote site artifacts still
> reference {{http}} and many browsers won't load content from mixed protocols.
> {code}
> Blocked loading mixed active content
> "http://netdna.bootstrapcdn.com/bootswatch/2.3.2/flatly/bootstrap.min.css"
> Blocked loading mixed active content
> "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css"
> Blocked loading mixed active content
> "http://yandex.st/highlightjs/7.5/styles/default.min.css"
> Blocked loading mixed active content
> "http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"
> Blocked loading mixed active content
> "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"
> Blocked loading mixed active content
> "http://yandex.st/highlightjs/7.5/highlight.min.js"
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)