Fix details extraction when no title exists. (#30933)
This commit is contained in:
		
							
								
								
									
										17
									
								
								spec/fixtures/requests/page_without_title.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								spec/fixtures/requests/page_without_title.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
HTTP/1.1 200 OK
 | 
			
		||||
server: nginx
 | 
			
		||||
date: Thu, 13 Jun 2024 14:33:13 GMT
 | 
			
		||||
content-type: text/html; charset=utf-8
 | 
			
		||||
content-length: 171
 | 
			
		||||
accept-ranges: bytes
 | 
			
		||||
 | 
			
		||||
<!doctype html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
  <meta charset="UTF-8">
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
  <h2>I am not a valid page</h2>
 | 
			
		||||
  <p>Thankfully, browsers do not care</p>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user