mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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
This commit is contained in:
committed by
Dave Page
parent
5c0ea0c012
commit
6e8ebbd375
@@ -196,6 +196,9 @@ class DictCursor(_cursor):
|
||||
Execute function
|
||||
"""
|
||||
self._odt_desc = None
|
||||
if params is not None and len(params) == 0:
|
||||
params = None
|
||||
|
||||
return _cursor.execute(self, query, params)
|
||||
|
||||
def executemany(self, query, params=None):
|
||||
|
Reference in New Issue
Block a user