Skip to content

fix: enable unsafe cookie jar for IP-based qBittorrent hosts#85

Closed
monstermuffin wants to merge 1 commit intomainfrom
dev
Closed

fix: enable unsafe cookie jar for IP-based qBittorrent hosts#85
monstermuffin wants to merge 1 commit intomainfrom
dev

Conversation

@monstermuffin
Copy link
Copy Markdown
Owner

@monstermuffin monstermuffin commented Mar 24, 2026

No description provided.

aiohttp rejects session cookies by default when the host is an IP
literal. Detect whether QBITTORRENT_HOST is an IP address at startup
and, if so, create the ClientSession with CookieJar(unsafe=True).
Hostname-based connections are unaffected.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant