Browse Source

SteamClient: limit cookie domains in get_web_session

pull/34/head
Rossen Georgiev 9 years ago
parent
commit
94f34bc288
  1. 2
      steam/client/builtins/web.py

2
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)

Loading…
Cancel
Save