do not decode received data via IBB before writing them to a file
This commit is contained in:
		
							parent
							
								
									5606e5b9a2
								
							
						
					
					
						commit
						7f4e930677
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -926,10 +926,10 @@ class ConnectionIBBytestream(ConnectionBytestream): | |||
|         log.debug('ReceiveHandler called sid->%s seq->%s' % (sid, seq)) | ||||
|         try: | ||||
|             seq = int(seq) | ||||
|             data = base64.b64decode(data.encode('utf-8')).decode('utf-8') | ||||
|             data = base64.b64decode(data.encode('utf-8')) | ||||
|         except Exception: | ||||
|             seq = '' | ||||
|             data = '' | ||||
|             data = b'' | ||||
|         err = None | ||||
|         file_props = FilesProp.getFilePropByTransportSid(self.name, sid) | ||||
|         if file_props is None: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue