pgAdmin 4 commit: Fixed Securtiy Hotspot reported by SonarQube. - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Fixed Securtiy Hotspot reported by SonarQube.
Date
Msg-id E1oMT5r-0000qx-2j@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Fixed Securtiy Hotspot reported by SonarQube.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=084203debca04842fa0fcf7f9c2d702a5eee12e8

Modified Files
--------------
web/pgacloud/utils/misc.py                         |  4 ++--
web/pgadmin/authenticate/mfa/email.py              |  5 ++---
web/pgadmin/authenticate/webserver.py              |  5 ++---
.../schemas/tables/partitions/__init__.py          |  8 +++----
.../servers/tests/test_all_server_get.py           |  7 +++---
web/pgadmin/feature_tests/browser_tool_bar_test.py |  5 +++--
.../copy_selected_query_results_feature_test.py    |  7 +++---
web/pgadmin/feature_tests/file_manager_test.py     | 25 ++++++++++++++++------
.../feature_tests/pg_utilities_maintenance_test.py |  8 +++----
.../query_tool_auto_complete_tests.py              | 10 ++++-----
.../feature_tests/query_tool_journey_test.py       |  9 ++++----
.../feature_tests/table_ddl_feature_test.py        |  5 +++--
.../feature_tests/test_copy_sql_to_query_tool.py   |  5 +++--
.../xss_checks_panels_and_query_tool_test.py       |  5 ++---
.../xss_checks_pgadmin_debugger_test.py            |  4 ++--
.../feature_tests/xss_checks_roles_control_test.py |  4 ++--
web/pgadmin/misc/bgprocess/processes.py            |  4 ++--
web/pgadmin/misc/cloud/azure/__init__.py           |  4 ++--
web/pgadmin/misc/file_manager/__init__.py          |  5 ++---
web/pgadmin/setup/user_info.py                     |  5 ++---
.../tools/backup/tests/test_backup_utils.py        | 10 ++++-----
web/pgadmin/tools/debugger/__init__.py             | 13 ++++++-----
.../tools/debugger/utils/debugger_instance.py      |  4 ++--
web/pgadmin/tools/erd/tests/test_close.py          |  4 ++--
web/pgadmin/tools/erd/tests/test_initialize.py     |  4 ++--
web/pgadmin/tools/erd/tests/test_panel.py          |  6 ++----
web/pgadmin/tools/erd/tests/test_prequisite.py     |  4 ++--
web/pgadmin/tools/erd/tests/test_sql.py            |  4 ++--
web/pgadmin/tools/erd/tests/test_tables.py         |  4 ++--
.../tests/test_import_export_utils.py              | 11 +++++-----
.../tools/import_export_servers/__init__.py        |  7 +++---
.../tests/test_create_maintenance_job.py           | 10 ++++-----
web/pgadmin/tools/psql/tests/test_panel.py         |  4 ++--
web/pgadmin/tools/psql/tests/test_start_process.py |  3 ---
.../tools/restore/tests/test_create_restore_job.py | 10 ++++-----
web/pgadmin/tools/schema_diff/__init__.py          |  4 ++--
.../schema_diff/tests/test_schema_diff_comp.py     |  4 ++--
web/pgadmin/tools/sqleditor/__init__.py            |  8 +++----
.../tests/test_download_csv_query_tool.py          |  7 +++---
.../tools/sqleditor/tests/test_editor_history.py   |  4 ++--
.../tools/sqleditor/tests/test_encoding_charset.py |  6 +++---
.../tools/sqleditor/tests/test_explain_plan.py     |  4 ++--
web/pgadmin/tools/sqleditor/tests/test_macros.py   |  4 ++--
.../tools/sqleditor/tests/test_poll_query_tool.py  |  4 ++--
.../sqleditor/tests/test_sql_ascii_encoding.py     |  5 ++---
.../sqleditor/tests/test_transaction_status.py     |  6 +++---
.../tools/sqleditor/tests/test_view_data.py        |  4 ++--
.../tools/sqleditor/utils/start_running_query.py   |  4 ++--
.../tests/test_is_query_resultset_updatable.py     |  7 +++---
.../utils/tests/test_save_changed_data.py          |  6 +++---
web/pgadmin/utils/driver/psycopg2/connection.py    | 18 +++++++---------
web/regression/feature_utils/app_starter.py        |  4 ++--
web/regression/python_test_utils/test_utils.py     |  4 ++--
web/regression/runtests.py                         |  4 ++--
54 files changed, 170 insertions(+), 169 deletions(-)


pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][patch] Sonarqube security hotspots fixes
Next
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][patch] Sonarqube security hotspots fixes