From 94f34bc28848e785aa09ba8a53db2c4800273c5f Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sat, 14 May 2016 00:40:00 +0100 Subject: [PATCH] SteamClient: limit cookie domains in get_web_session --- steam/client/builtins/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam/client/builtins/web.py b/steam/client/builtins/web.py index c90607f..caa8e6f 100644 --- a/steam/client/builtins/web.py +++ b/steam/client/builtins/web.py @@ -63,7 +63,7 @@ class Web(object): session = make_requests_session() - for domain in ['.steampowered.com', '.steamcommunity.com']: + for domain in ['store.steampowered.com', 'help.steampowered.com', 'steamcommunity.com']: for name, val in cookies.items(): secure = (name == 'steamLoginSecure') session.cookies.set(name, val, domain=domain, secure=secure)