public inbox for [email protected]  
help / color / mirror / Atom feed
PATCH: To fix the issue where pgAdmin4 was not honouring ssl mode options (pgAdmin4)
2+ messages / 2 participants
[nested] [flat]

* PATCH: To fix the issue where pgAdmin4 was not honouring ssl mode options (pgAdmin4)
@ 2016-10-05 06:23  Murtuza Zabuawala <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Murtuza Zabuawala @ 2016-10-05 06:23 UTC (permalink / raw)
  To: pgadmin-hackers

Hi,

PFA minor patch to fix the issue where pgAdmin4 was not honouring ssl mode
options.
RM#1817

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [application/octet-stream] RM_1817.patch (590B, 3-RM_1817.patch)
  download | inline diff:
diff --git a/web/pgadmin/utils/driver/psycopg2/__init__.py b/web/pgadmin/utils/driver/psycopg2/__init__.py
index ee90545..89387cd 100644
--- a/web/pgadmin/utils/driver/psycopg2/__init__.py
+++ b/web/pgadmin/utils/driver/psycopg2/__init__.py
@@ -290,7 +290,8 @@ class Connection(BaseConnection):
                 database=database,
                 user=user,
                 password=password,
-                async=self.async
+                async=self.async,
+                sslmode=mgr.ssl_mode
             )
 
             # If connection is asynchronous then we will have to wait


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PATCH: To fix the issue where pgAdmin4 was not honouring ssl mode options (pgAdmin4)
@ 2016-10-05 12:05  Dave Page <[email protected]>
  parent: Murtuza Zabuawala <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Page @ 2016-10-05 12:05 UTC (permalink / raw)
  To: Murtuza Zabuawala <[email protected]>; +Cc: pgadmin-hackers

Thanks, applied.

On Wed, Oct 5, 2016 at 7:23 AM, Murtuza Zabuawala
<[email protected]> wrote:
> Hi,
>
> PFA minor patch to fix the issue where pgAdmin4 was not honouring ssl mode
> options.
> RM#1817
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgadmin-hackers mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-10-05 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-10-05 06:23 PATCH: To fix the issue where pgAdmin4 was not honouring ssl mode options (pgAdmin4) Murtuza Zabuawala <[email protected]>
2016-10-05 12:05 ` Dave Page <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox