mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Vendor Update (#16121)
* update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-git/go-billy/v5 * update github.com/go-git/go-git/v5 * update github.com/go-redis/redis/v8 * update github.com/go-testfixtures/testfixtures/v3 * update github.com/jaytaylor/html2text * update github.com/json-iterator/go * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mattn/go-isatty * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/prometheus/client_golang * update github.com/unrolled/render * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark * update github.com/yuin/goldmark-highlighting Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		
							
								
								
									
										7
									
								
								vendor/github.com/miekg/dns/scan.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/github.com/miekg/dns/scan.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -150,6 +150,9 @@ func ReadRR(r io.Reader, file string) (RR, error) { | ||||
| // The text "; this is comment" is returned from Comment. Comments inside | ||||
| // the RR are returned concatenated along with the RR. Comments on a line | ||||
| // by themselves are discarded. | ||||
| // | ||||
| // Callers should not assume all returned data in an Resource Record is | ||||
| // syntactically correct, e.g. illegal base64 in RRSIGs will be returned as-is. | ||||
| type ZoneParser struct { | ||||
| 	c *zlexer | ||||
|  | ||||
| @@ -1233,7 +1236,7 @@ func stringToCm(token string) (e, m uint8, ok bool) { | ||||
| 			// 'nn.1' must be treated as 'nn-meters and 10cm, not 1cm. | ||||
| 			cmeters *= 10 | ||||
| 		} | ||||
| 		if len(s[0]) == 0 { | ||||
| 		if s[0] == "" { | ||||
| 			// This will allow omitting the 'meter' part, like .01 (meaning 0.01m = 1cm). | ||||
| 			break | ||||
| 		} | ||||
| @@ -1352,7 +1355,7 @@ func stringToNodeID(l lex) (uint64, *ParseError) { | ||||
| 	if len(l.token) < 19 { | ||||
| 		return 0, &ParseError{l.token, "bad NID/L64 NodeID/Locator64", l} | ||||
| 	} | ||||
| 	// There must be three colons at fixes postitions, if not its a parse error | ||||
| 	// There must be three colons at fixes positions, if not its a parse error | ||||
| 	if l.token[4] != ':' && l.token[9] != ':' && l.token[14] != ':' { | ||||
| 		return 0, &ParseError{l.token, "bad NID/L64 NodeID/Locator64", l} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user