Thread: [pgadmin-hackers] [pgAdmin4][PATCH] Handling of non-ascii with Python2.7

[pgadmin-hackers] [pgAdmin4][PATCH] Handling of non-ascii with Python2.7

From
Murtuza Zabuawala
Date:
Hi,

PFA patch to fix the issue where user enters non ascii username/password (invalid credentials) while creating new server and it throws error.
RM#2160

This patch also includes some other minor fixes for the same issue in some other files where we are passing error to gettext() if it includes non ascii words then it breaks in Python2.7.

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

Attachment

Re: [pgadmin-hackers] [pgAdmin4][PATCH] Handling of non-ascii with Python2.7

From
Dave Page
Date:
Thanks, patch applied.

On Mon, Feb 13, 2017 at 6:42 AM, Murtuza Zabuawala
<murtuza.zabuawala@enterprisedb.com> wrote:
> Hi,
>
> PFA patch to fix the issue where user enters non ascii username/password
> (invalid credentials) while creating new server and it throws error.
> RM#2160
>
> This patch also includes some other minor fixes for the same issue in some
> other files where we are passing error to gettext() if it includes non ascii
> words then it breaks in Python2.7.
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> 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