0
0
Fork 0

Update flask version in requirements.txt, use escape from markupsafe package.

Bug-561
Lan Hui 2023-07-14 09:11:02 +08:00
parent cc92e5e29a
commit 5711f0e826
4 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
from flask import * from flask import *
from markupsafe import escape
from Login import check_username_availability, verify_user, add_user, get_expiry_date, change_password, WarningMessage from Login import check_username_availability, verify_user, add_user, get_expiry_date, change_password, WarningMessage

View File

@ -1,5 +1,6 @@
# System Library # System Library
from flask import * from flask import *
from markupsafe import escape
# Personal library # Personal library
from Yaml import yml from Yaml import yml

View File

@ -5,7 +5,8 @@
# Copyright 2019 (C) Hui Lan <hui.lan@cantab.net> # Copyright 2019 (C) Hui Lan <hui.lan@cantab.net>
# Written permission must be obtained from the author for commercial uses. # Written permission must be obtained from the author for commercial uses.
########################################################################### ###########################################################################
from flask import escape, abort from flask import abort
from markupsafe import escape
from Login import * from Login import *
from Article import * from Article import *
import Yaml import Yaml

View File

@ -1,4 +1,4 @@
Flask==1.1.2 Flask==2.3.2
selenium==3.141.0 selenium==3.141.0
PyYAML~=6.0 PyYAML~=6.0
pony==0.7.16 pony==0.7.16