diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-29 08:50:53 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-29 08:50:53 +0200 |
commit | a8735c02b6f4961f53ebbacf8a3d313db8b548fc (patch) | |
tree | 6c6e1172882ff5139b02e1d31a5a5df6dccdaba6 /sys/lib/python/platform.py | |
parent | 34f3df213c0141d904dbe69ff6cf16bc3cfae28c (diff) |
webcookies: fix isdomainmatch() (fixes livejournal.com login)
when cookie is domain=example.com, then we implicitely add
dot to the domain name, which made us reject the cookie as the
request domain "example.com" != ".example.com". fix by making
isdomainmatch() skip the implicit dot in pattern before string
comparsion.
Diffstat (limited to 'sys/lib/python/platform.py')
0 files changed, 0 insertions, 0 deletions