Message328973
| Author | 西田雄治 |
|---|---|
| Recipients | 西田雄治 |
| Date | 2018-10-31.06:52:48 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1540968768.96.0.788709270274.issue35121@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
http.cookiejar.DefaultPolicy.domain_return_ok returns incorrect results.
So, HTTP clients send cookies which issued from wrong server.
policy = http.cookiejar.DefaultCookiePolicy()
req = urllib.request.Request('https://xxxfoo.co.jp/')
print(policy.domain_return_ok('foo.co.jp', req) # should be False, but it returns True |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-10-31 06:52:48 | 西田雄治 | set | recipients: + 西田雄治 |
| 2018-10-31 06:52:48 | 西田雄治 | set | messageid: <1540968768.96.0.788709270274.issue35121@psf.upfronthosting.co.za> |
| 2018-10-31 06:52:48 | 西田雄治 | link | issue35121 messages |
| 2018-10-31 06:52:48 | 西田雄治 | create | |