mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 18:53:13 -05:00 
			
		
		
		
	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:
		
							
								
								
									
										2
									
								
								vendor/github.com/apache/thrift/lib/go/thrift/simple_json_protocol.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/apache/thrift/lib/go/thrift/simple_json_protocol.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -334,7 +334,7 @@ func (p *TSimpleJSONProtocol) ReadFieldBegin() (string, TType, int16, error) {
 | 
			
		||||
			p.reader.ReadByte()
 | 
			
		||||
			name, err := p.ParseStringBody()
 | 
			
		||||
			// 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
 | 
			
		||||
			if err != nil {
 | 
			
		||||
				return name, STOP, 0, err
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user