[ 
https://issues.apache.org/jira/browse/HBASE-19068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218267#comment-16218267
 ] 

Yung-An He commented on HBASE-19068:
------------------------------------

Our HBase book is built from asciidoc files to a book.html.

In asciidoc file, we could define an URL link via 
{code:none}
link:http://www.example.com[example]
{code}
,  and it would convert to HTML format as below:
{code:none}
<a href="http://www.example.com"; style="">example</a>
{code}


In the HTML, we could also define an URL link without "http:" as below:
{code:none}
<a href="//www.example.com" style="">example</a>
{code}
When clicking the "example" link, the browser will redirect to 
https://www.example.com automatically, if it has already been configured on the 
web host. To see: [How to redirect all HTTP requests to 
HTTPS|https://stackoverflow.com/questions/4083221/how-to-redirect-all-http-requests-to-https]
Otherwise, it will redirect to http://www.example.com.

I would replace all the URL of apache.org via the above method, and we would 
not determine if the site supports HTTPS.

I have already tried the above method, 
and I found that the <a href="//hbase.apache.org/book.htm" style="">hbase 
book</a> would not redirect to https://hbase.apache.org/book.htm,
as well as <a href="//wiki.apache.org/hadoop/FrontPage" style="">hadoop 
wiki</a> redirect to https://wiki.apache.org/hadoop/FrontPage automatically.

Since https://hbase.apache.org supports HTTPS, I suggest that configuring to 
redirect the URL from HTTP to HTTPS on the hbase website host.

> Change all url of apache.org from HTTP to HTTPS in HBase book
> -------------------------------------------------------------
>
>                 Key: HBASE-19068
>                 URL: https://issues.apache.org/jira/browse/HBASE-19068
>             Project: HBase
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Yung-An He
>            Assignee: Yung-An He
>             Fix For: 2.0.0
>
>
> We should change all the links of apache.org from HTTP to HTTPS in our hbase 
> book due to the security issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to