mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Fix security hotspots reported by Sonarqube.
This commit is contained in:
parent
a6b8b7bfa9
commit
115d4afd9e
@ -28,9 +28,9 @@ Housekeeping
|
||||
************
|
||||
|
||||
| `Issue #6295 <https://github.com/pgadmin-org/pgadmin4/issues/6295>`_ - Remove Bootstrap and jQuery from authentication pages and rewrite them in ReactJS.
|
||||
| `Issue #6323 <https://github.com/pgadmin-org/pgadmin4/issues/6323>`_ - Enable cluster deployment with gp3 volume for AWS & BigAnimal cloud providers.
|
||||
| `Issue #6423 <https://github.com/pgadmin-org/pgadmin4/issues/6423>`_ - Clarify the LICENSE file to indicate that it is the PostgreSQL Licence.
|
||||
| `Issue #6532 <https://github.com/pgadmin-org/pgadmin4/issues/6532>`_ - Remove unsupported PostgreSQL versions from the container.
|
||||
| `Issue #6323 <https://github.com/pgadmin-org/pgadmin4/issues/6323>`_ - Enable cluster deployment with gp3 volume for AWS & BigAnimal cloud providers.
|
||||
|
||||
Bug fixes
|
||||
*********
|
||||
|
@ -14,7 +14,7 @@ object.
|
||||
"""
|
||||
|
||||
import os
|
||||
import random
|
||||
import secrets
|
||||
import datetime
|
||||
import asyncio
|
||||
from collections import deque
|
||||
@ -961,7 +961,7 @@ WHERE db.datname = current_database()""")
|
||||
|
||||
if not status:
|
||||
return False, str(cur)
|
||||
query_id = random.randint(1, 9999999)
|
||||
query_id = str(secrets.choice(range(1, 9999999)))
|
||||
|
||||
current_app.logger.log(
|
||||
25,
|
||||
@ -1039,7 +1039,7 @@ WHERE db.datname = current_database()""")
|
||||
|
||||
if not status:
|
||||
return False, str(cur)
|
||||
query_id = random.randint(1, 9999999)
|
||||
query_id = str(secrets.choice(range(1, 9999999)))
|
||||
|
||||
encoding = self.python_encoding
|
||||
|
||||
@ -1107,7 +1107,7 @@ WHERE db.datname = current_database()""")
|
||||
|
||||
if not status:
|
||||
return False, str(cur)
|
||||
query_id = random.randint(1, 9999999)
|
||||
query_id = str(secrets.choice(range(1, 9999999)))
|
||||
|
||||
current_app.logger.log(
|
||||
25,
|
||||
@ -1194,7 +1194,7 @@ WHERE db.datname = current_database()""")
|
||||
if not status:
|
||||
return False, str(cur)
|
||||
|
||||
query_id = random.randint(1, 9999999)
|
||||
query_id = str(secrets.choice(range(1, 9999999)))
|
||||
current_app.logger.log(
|
||||
25,
|
||||
"Execute (2darray) by {pga_user} on "
|
||||
@ -1251,7 +1251,7 @@ WHERE db.datname = current_database()""")
|
||||
|
||||
if not status:
|
||||
return False, str(cur)
|
||||
query_id = random.randint(1, 9999999)
|
||||
query_id = str(secrets.choice(range(1, 9999999)))
|
||||
current_app.logger.log(
|
||||
25,
|
||||
"Execute (dict) by {pga_user} on "
|
||||
|
Loading…
Reference in New Issue
Block a user