Skip to content

Commit 6b1e616

Browse files
authored
Merge pull request #16 from simcax/dependabot/pip/werkzeug-3.0.6
Bump werkzeug from 2.3.8 to 3.0.6
2 parents 6aad2cd + 21bd3fd commit 6b1e616

File tree

3 files changed

+74
-12
lines changed

3 files changed

+74
-12
lines changed

lfweb/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from flask import Flask # , render_template, send_from_directory, session
88
from flask_session import Session
99
from loguru import logger
10+
from werkzeug.http import dump_cookie
1011

1112
from lfweb.main import ( # pylint: disable=import-outside-toplevel
1213
frontpage_bp,
@@ -47,8 +48,8 @@ def create_app(test_config=None):
4748
SESSION_USE_SIGNER=True,
4849
SESSION_COOKIE_SECURE=False,
4950
SESSION_COOKIE_SAMESITE="Strict",
50-
SESSION_COOKIE_DOMAIN=environ.get("SESSION_COOKIE_DOMAIN", str("127.0.0.1")),
51-
SESSION_COOKIE_NAME=environ.get("SESSION_COOKIE_NAME", site_short_name),
51+
SESSION_COOKIE_DOMAIN=str(environ.get("SESSION_COOKIE_DOMAIN", "127.0.0.1")),
52+
SESSION_COOKIE_NAME=str(environ.get("SESSION_COOKIE_NAME", site_short_name)),
5253
)
5354

5455
print(secret_key)

poetry.lock

Lines changed: 69 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ readme = "README.md"
88
[tool.poetry.dependencies]
99
python = "^3.11"
1010
Flask = "2.3.3"
11-
Flask-Session = "^0.5.0"
11+
Flask-Session = ">=0.6.0"
1212
gunicorn = "^23.0.0"
1313
Jinja2 = "^3.1.3"
1414
redis = "^5.0.1"
1515
loguru = "^0.7.2"
16-
werkzeug = "2.3.8"
16+
werkzeug = "3.0.6"
1717
foreninglet-data = ">=0.3.3"
1818
markdown = "^3.5.2"
1919
markupsafe = "^2.1.5"

0 commit comments

Comments
 (0)