Skip to content

Commit

Permalink
build(deps): update pyproject.toml and logging_config.py
Browse files Browse the repository at this point in the history
Fix Logs session offuscation in exception #16
LimeDrive committed Jun 15, 2024
1 parent fbe9770 commit 8674d93
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ygg-rss-proxy"
version = "1.2.10-alpha"
version = "1.2.11-alpha"
description = "Proxy for yggtorrent rss feeds"
authors = ["LimeDrive <limecat@limedrive.eu>"]
readme = "README.md"
2 changes: 1 addition & 1 deletion ygg_rss_proxy/logging_config.py
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ def format(record):
r"ygg_=[^;\s]+",
r"[A-Za-z0-9]+\' \[GET\] of ygg_rss_proxy\.app>",
r"session:[A-Za-z0-9_-]+",
r"\b[A-Za-z0-9_-]{55,}\b(?!\")",
r"(\{'session_data':\s*b'|<Session data b'|serialized_session_data\s*=\s*b')[\s\S]*?\.(?=\s)",
]

if record["exception"] is not None:

0 comments on commit 8674d93

Please sign in to comment.