Commit 4617389
committed
Fix host-only cookie duplication & leak
Currently we create duplicate cookies (!) for host-only cookies, one
secure, one insecure. This is because we're always setting the domain
parameter, regardless of the hostOnly value.
See: http://developer.chrome.com/extensions/cookies.html#method-set
Closes issue EFForg#159
Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>1 parent 9d0af02 commit 4617389
1 file changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
326 | 327 | | |
327 | 328 | | |
328 | | - | |
329 | | - | |
330 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
331 | 338 | | |
332 | | - | |
| 339 | + | |
333 | 340 | | |
334 | | - | |
| 341 | + | |
335 | 342 | | |
336 | 343 | | |
337 | 344 | | |
| |||
0 commit comments