mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 18:07:46 +03:00 
			
		
		
		
	Minor bug fix
This commit is contained in:
		
							parent
							
								
									bdb9219e9b
								
							
						
					
					
						commit
						3c110b3620
					
				| 
						 | 
				
			
			@ -72,7 +72,7 @@ def crawl(target):
 | 
			
		|||
                            href = tag.get("href") if hasattr(tag, "get") else tag.group("href")
 | 
			
		||||
 | 
			
		||||
                            if href:
 | 
			
		||||
                                url = urlparse.urljoin(target, href)
 | 
			
		||||
                                url = urlparse.urljoin(current, href)
 | 
			
		||||
 | 
			
		||||
                                # flag to know if we are dealing with the same target host
 | 
			
		||||
                                _ = reduce(lambda x, y: x == y, map(lambda x: urlparse.urlparse(x).netloc.split(':')[0], (url, target)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user