diff options
author | Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> | 2021-06-16 13:41:24 +0000 |
---|---|---|
committer | Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> | 2021-06-19 04:46:13 +0000 |
commit | 050acf2b98a82ecb707b69fc6ff4bef6f84b4bd8 (patch) | |
tree | dfb94c725765fc627bcbcba7dac22f68cb91608d /tests/__init__.py | |
parent | 313750bef0318c2204ce869fb2bdc4d4043a20e6 (diff) |
Fix SQL security issue
Constructing SQL statement by python % formatting operator is
dangerous. Use psycopg2 placeholder to escape special characters.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2836
Change-Id: I5ac804bc3e280c3eae14a5e224ca5fc7c7faccb7
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions