From 3b89e1c2f674b91b1ab583cdf65614ead0fa85a6 Mon Sep 17 00:00:00 2001 From: felixaime Date: Sat, 2 Sep 2023 10:08:18 +0200 Subject: [PATCH] Replacing markupsafe --- server/backend/app/classes/iocs.py | 2 +- server/backend/app/classes/misp.py | 2 +- server/backend/app/classes/watchers.py | 2 +- server/backend/app/classes/whitelist.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/backend/app/classes/iocs.py b/server/backend/app/classes/iocs.py index 72c484c..73eb9de 100755 --- a/server/backend/app/classes/iocs.py +++ b/server/backend/app/classes/iocs.py @@ -5,7 +5,7 @@ from app import db from app.db.models import Ioc from sqlalchemy.sql import exists from app.definitions import definitions -from flask import escape +from markupsafe import escape import re import time diff --git a/server/backend/app/classes/misp.py b/server/backend/app/classes/misp.py index 74a840f..7085503 100755 --- a/server/backend/app/classes/misp.py +++ b/server/backend/app/classes/misp.py @@ -6,7 +6,7 @@ from app.db.models import MISPInst from app.definitions import definitions as defs from sqlalchemy.sql import exists -from flask import escape +from markupsafe import escape from pymisp import PyMISP import re import time diff --git a/server/backend/app/classes/watchers.py b/server/backend/app/classes/watchers.py index 01c0c92..3972af2 100755 --- a/server/backend/app/classes/watchers.py +++ b/server/backend/app/classes/watchers.py @@ -7,7 +7,7 @@ from typing import Iterator import requests import yaml -from flask import escape +from markupsafe import escape from sqlalchemy.sql import exists diff --git a/server/backend/app/classes/whitelist.py b/server/backend/app/classes/whitelist.py index d1d807c..eb65417 100755 --- a/server/backend/app/classes/whitelist.py +++ b/server/backend/app/classes/whitelist.py @@ -5,7 +5,7 @@ from app import db from app.db.models import Whitelist from sqlalchemy.sql import exists from app.definitions import definitions -from flask import escape +from markupsafe import escape import re import time