Ticket #441 (closed defect: fixed)
regression: webtest 1.2.1 breaks cookie set (with redirect)
| Reported by: | jccooper | Owned by: | ianb |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | webtest | Version: | released-version |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
Situation: testing login form submit; it sets an auth cookie and redirects to some other page. This fails in webtest 1.2.1, but works on downgrade to 1.2.
See, for example: http://stackoverflow.com/questions/2731907/unit-testing-authorization-in-a-pylons-app-fails-cookies-arent-been-correctly-s
(This is not me, but is the exact same situation.)
And I'm not entirely sure it's properly setting cookies (or at least, this one) at all; I did a quick test with 1.2.1 and no redirect, and it didn't get set right either.
The set-cookie header I'm working with:
Set-Cookie: _auth=1282172545.0+agpib3R0bGVtYXJrcg0LEgdBcHBVc2VyGAEM-38bf73f14ffacad56dbb2433b6ac35927fade09e; expires=Wed, 18-Aug-2010 23:02:25 GMT
Change History
Note: See
TracTickets for help on using
tickets.
