mirror of
				https://github.com/stedolan/jq.git
				synced 2024-05-11 05:55:39 +00:00 
			
		
		
		
	Let @uri produce uppercase hexadecimal digits...
instead of lowercase ones. According to RFC 3986, The uppercase hexadecimal digits 'A' through 'F' are equivalent to the lowercase digits 'a' through 'f', respectively. If two URIs differ only in the case of hexadecimal digits used in percent-encoded octets, they are equivalent. For consistency, URI producers and normalizers should use uppercase hexadecimal digits for all percent- encodings. See https://github.com/stedolan/jq/issues/451 for details. Test suite and manual are also updated to reflect this change. Signed-off-by: Nicolas Williams <nico@cryptonector.com>
This commit is contained in:
		
				
					committed by
					
						
						Nicolas Williams
					
				
			
			
				
	
			
			
			
						parent
						
							1204e328df
						
					
				
				
					commit
					a5e9086676
				
			@@ -67,13 +67,13 @@ null
 | 
			
		||||
"\"<>&'\\\"\""
 | 
			
		||||
"1,\"<>&'\"\"\""
 | 
			
		||||
"<>&'""
 | 
			
		||||
"%3c%3e%26'%22"
 | 
			
		||||
"%3C%3E%26'%22"
 | 
			
		||||
"'<>&'\\''\"'"
 | 
			
		||||
"PD4mJyI="
 | 
			
		||||
 | 
			
		||||
@uri
 | 
			
		||||
"\u03bc"
 | 
			
		||||
"%ce%bc"
 | 
			
		||||
"%CE%BC"
 | 
			
		||||
 | 
			
		||||
@html "<b>\(.)</b>"
 | 
			
		||||
"<script>hax</script>"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user