pgAdmin 4 commit: popen() function strips the quotes from the arguments - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: popen() function strips the quotes from the arguments
Date
Msg-id E1iIXa5-0002mz-8b@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
popen() function strips the quotes from the arguments, so backup fails
for the schema name that needs quoting.

Code is changed to add escapers.

Fixes #4590

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d056a94f0c30b44c4bab680a63f318de3226e958
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>

Modified Files
--------------
docs/en_US/release_notes_4_14.rst                  |  1 +
web/pgadmin/misc/bgprocess/__init__.py             | 15 ++++++++++
web/pgadmin/misc/bgprocess/process_executor.py     | 32 ++++++++++++++++++----
.../setup/tests/test_export_import_servers.py      |  4 +--
web/pgadmin/tools/backup/__init__.py               | 15 +++++++---
5 files changed, 55 insertions(+), 12 deletions(-)


pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM4701] Webpack optimization
Next
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM4590] Schema Backup fails with names that requires quoting