1) Disable the PSQL feature entirely in server mode by default.

2) Remove the code that attempts to filter out commands.

refs #2341
This commit is contained in:
Nikhil Mohite authored and Akshay Joshi committed 2021-06-14 20:53:11 +05:30
1 parent c2ed799113
commit 2549688bdf
4 files changed
+9 -121

No files matched your search

-4
View File
@@ -10,10 +10,6 @@ PSQL tool allows user to connect to PostgreSQL/EDB Advanced server using psql te
* PSQL will connect to the current connected database from browser tree.
* PSQL utility does support execution of OS meta-commands by using "\\!". Due
to security concerns, we have disabled the execution of such commands in
pgAdmin. To enable OS meta-commands set ALLOW_PSQL_SHELL_COMMANDS = True in configuration.
.. image:: images/psql_tool.png
:alt: PSQL tool window
:align: center