mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-11-04 09:57:38 +03:00 
			
		
		
		
	bug fix
This commit is contained in:
		
							parent
							
								
									9c694ce3ec
								
							
						
					
					
						commit
						ff8fc90ac7
					
				| 
						 | 
					@ -541,6 +541,9 @@ buawig <buawig@gmail.com>
 | 
				
			||||||
Bugtrace <bugtrace@gmail.com>
 | 
					Bugtrace <bugtrace@gmail.com>
 | 
				
			||||||
    for reporting several bugs
 | 
					    for reporting several bugs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Christian S. <christian_s@linuxmail.org>
 | 
				
			||||||
 | 
					    for reporting a minor bug
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clav <elclav@gmail.com>
 | 
					clav <elclav@gmail.com>
 | 
				
			||||||
    for reporting a minor bug
 | 
					    for reporting a minor bug
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2785,7 +2785,7 @@ def safeCSValue(value):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    retVal = value
 | 
					    retVal = value
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if isinstance(retVal, basestring):
 | 
					    if retVal and isinstance(retVal, basestring):
 | 
				
			||||||
        if not (retVal[0] == retVal[-1] == '"'):
 | 
					        if not (retVal[0] == retVal[-1] == '"'):
 | 
				
			||||||
            if any(map(lambda x: x in retVal, ['"', ',', '\n'])):
 | 
					            if any(map(lambda x: x in retVal, ['"', ',', '\n'])):
 | 
				
			||||||
                retVal = '"%s"' % retVal.replace('"', '""')
 | 
					                retVal = '"%s"' % retVal.replace('"', '""')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user