Allow users to keep colons between each hex pair of server certificate fingerprint in configuration file.
Signed-off-by: velleto <rr@velleto.com> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
		 velleto
					velleto
				
			
				
					committed by
					
						 Nicolas Sebrecht
						Nicolas Sebrecht
					
				
			
			
				
	
			
			
			 Nicolas Sebrecht
						Nicolas Sebrecht
					
				
			
						parent
						
							b150daaa49
						
					
				
				
					commit
					c126b4286d
				
			| @@ -293,7 +293,7 @@ class IMAPRepository(BaseRepository): | ||||
|         comma-separated fingerprints in hex form.""" | ||||
|  | ||||
|         value = self.getconf('cert_fingerprint', "") | ||||
|         return [f.strip().lower() for f in value.split(',') if f] | ||||
|         return [f.strip().lower().replace(":", "") for f in value.split(',') if f] | ||||
|  | ||||
|     def setoauth2_request_url(self, url): | ||||
|         self.oauth2_request_url = url | ||||
|   | ||||
		Reference in New Issue
	
	Block a user