does not correctly check cookie domain

Bug #732058 reported by Clive Darra
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-webunit (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-webunit

line 66 has
if not server.endswith(domain):

instead of
if not domain.endswith(server):

for other workaround see
http://osi.agendaless.com/bfgsvn/karl/branches/opaque-layers/karl/funkloadtests/INSTALL.txt
http://funkload.nuxeo.org/sphinx/faq.html

expected
NO ERROR

got
Error: COOKIE ERROR: Cookie domain ".example.com" doesn't match request host "example.com"

$ lsb_release -rd
Description: Ubuntu 10.04.2 LTS
Release: 10.04

$ aptitude show python-webunit
Package: python-webunit
State: installed
Automatically installed: no
Version: 1:1.3.8-4

Revision history for this message
Clive Darra (osde8info) wrote :

or maybe it should be

if not (domain.endswith(server) or server.endswith(domain)):

so that you dont get this error either !

Error: COOKIE ERROR: Cookie domain ".example.com" doesn':wqt match request host "safebrowsing.clients.example.com"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.