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