Replacing 'HTTP' by 'HTTPS' for securing links (#2591)

Currently, there are some links that we access with **HTTP**, it is
redirected to **HTTPS** automatically. So this commit aims to
replace **http://...** by **https://...** for security.

Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
This commit is contained in:
LongKB 2019-02-21 14:21:25 +07:00 committed by Miek Gieben
parent 05c0f7161b
commit c8ba2d3ca8
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ import (
// >0 when a is larger than b. // >0 when a is larger than b.
// The function orders names in DNSSEC canonical order: RFC 4034s section-6.1 // The function orders names in DNSSEC canonical order: RFC 4034s section-6.1
// //
// See http://bert-hubert.blogspot.co.uk/2015/10/how-to-do-fast-canonical-ordering-of.html // See https://bert-hubert.blogspot.co.uk/2015/10/how-to-do-fast-canonical-ordering-of.html
// for a blog article on this implementation, although here we still go label by label. // for a blog article on this implementation, although here we still go label by label.
// //
// The values of a and b are *not* lowercased before the comparison! // The values of a and b are *not* lowercased before the comparison!

View file

@ -334,7 +334,7 @@ func (p *TSimpleJSONProtocol) ReadFieldBegin() (string, TType, int16, error) {
p.reader.ReadByte() p.reader.ReadByte()
name, err := p.ParseStringBody() name, err := p.ParseStringBody()
// simplejson is not meant to be read back into thrift // simplejson is not meant to be read back into thrift
// - see http://wiki.apache.org/thrift/ThriftUsageJava // - see https://wiki.apache.org/thrift/ThriftUsageJava
// - use JSON instead // - use JSON instead
if err != nil { if err != nil {
return name, STOP, 0, err return name, STOP, 0, err