mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-13 03:30:51 +08:00
perf(system): async SSRF check with DNS cache for image proxy (#5832)
This commit is contained in:
@@ -360,7 +360,7 @@ async def fetch_image(
|
||||
|
||||
fetch_url = SecurityUtils.strip_url_signature(url)
|
||||
# 验证URL安全性
|
||||
if not SecurityUtils.is_safe_url(
|
||||
if not await SecurityUtils.is_safe_url_async(
|
||||
url,
|
||||
allowed_domains,
|
||||
block_private=True,
|
||||
|
||||
Reference in New Issue
Block a user