Opened 17 years ago

Closed 17 years ago

#3210 closed defect (fixed)

[patch] test-client Client.login() doesn't support absolute URLs in the Location header

Reported by: ben <ben.dean.kawamura@…> Owned by: Russell Keith-Magee
Component: Tools Version:
Severity: normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Summary says it all. RFC 2616 specifies location headers should be absolute. I'm attaching a patch that fixes things for me.

Attachments (1)

test-client-absolute-urls.diff (1.1 KB ) - added by ben <ben.dean.kawamura@…> 17 years ago.

Download all attachments as: .zip

Change History (6)

by ben <ben.dean.kawamura@…>, 17 years ago

comment:1 by ben <ben.dean.kawamura@…>, 17 years ago

Summary: Client.login() doesn't support absolute URLs in the Location header[patch] Client.login() doesn't support absolute URLs in the Location header

comment:2 by Russell Keith-Magee, 17 years ago

Owner: changed from Adrian Holovaty to Russell Keith-Magee

comment:3 by Chris Beaven, 17 years ago

Triage Stage: UnreviewedReady for checkin

Looks straight-forward. Thanks ben.

comment:4 by Malcolm Tredinnick, 17 years ago

Summary: [patch] Client.login() doesn't support absolute URLs in the Location header[patch] test-client Client.login() doesn't support absolute URLs in the Location header

comment:5 by Russell Keith-Magee, 17 years ago

Resolution: fixed
Status: newclosed

(In [4540]) Fixed #3210 -- Modified test Client.login() to use urlparse, allowing absolute URLs in the Location header. Thanks, Ben Dean Kawamura.

Note: See TracTickets for help on using tickets.
Back to Top