mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-01 00:17:25 +03:00 
			
		
		
		
	fix for a bug reported by saccurso@skygear.com.ar (UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 0: ordinal
not in range(128))
This commit is contained in:
		
							parent
							
								
									1d61611145
								
							
						
					
					
						commit
						41924a6ead
					
				|  | @ -60,7 +60,7 @@ def safechardecode(value): | ||||||
|         while True: |         while True: | ||||||
|             match = regex.search(retVal) |             match = regex.search(retVal) | ||||||
|             if match: |             if match: | ||||||
|                 retVal = retVal.replace(match.group("result"), binascii.unhexlify(match.group("result").lstrip('\\x'))) |                 retVal = retVal.replace(match.group("result"), unichr(ord(binascii.unhexlify(match.group("result").lstrip('\\x'))))) | ||||||
|             else: |             else: | ||||||
|                 break |                 break | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user