Thread: pgAdmin 4 commit: Allow editing of data where a primary key column incl
Allow editing of data where a primary key column includes a % sign in the value. Fixes #4036 Fix an XSS issue seen in View/Edit data mode if a column name includes HTML. Fixes #4367 Branch ------ electron2 Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=53d7b747000e3fbe8c35e0b18750c1e99f6b8d29 Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> Modified Files -------------- docs/en_US/release_notes_4_9.rst | 4 +- .../xss_checks_panels_and_query_tool_test.py | 28 ++++++++++++- web/pgadmin/tools/sqleditor/__init__.py | 7 +++- web/pgadmin/tools/sqleditor/command.py | 46 ++++++++++++++++------ web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 4 +- .../templates/sqleditor/sql/default/insert.sql | 2 +- .../templates/sqleditor/sql/default/update.sql | 2 +- web/pgadmin/utils/driver/psycopg2/cursor.py | 3 ++ web/regression/feature_utils/pgadmin_page.py | 22 +++++++++++ web/regression/python_test_utils/test_utils.py | 17 +++++--- 10 files changed, 112 insertions(+), 23 deletions(-)