villebro commented on a change in pull request #9396: feat: add SSL certificate 
validation for Druid
URL: 
https://github.com/apache/incubator-superset/pull/9396#discussion_r398614238
 
 

 ##########
 File path: superset/views/database/mixins.py
 ##########
 @@ -196,6 +204,9 @@ def _pre_add_update(self, database):
             check_sqlalchemy_uri(database.sqlalchemy_uri)
         self.check_extra(database)
         self.check_encrypted_extra(database)
+        database.server_cert = (
+            database.server_cert.strip() if database.server_cert else ""
+        )
 
 Review comment:
   Good idea, I'll break it out into a separate util function.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to