Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 70789
Status: new
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: sandoz [...] jpberlin.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.02
Fixed in: (no value)



Subject: LWP::UserAgent: HTTP-Digest authentication fails if server uses realm with comma-char (',')
If I try to request a ressource which requires HTTP-Digest authentication using a realm including a comma-charater (',') LWP::UserAgent fails, because it rewrites the challenge replacing all commas with semicolons. UserAgent.pm in request(): Show quoted text
> $challenge =~ tr/,/;/; # "," is used to separate auth-params!!
Probably it's uncommon to have a realm like "Unit, Organization", it's definitely RFC-conform. Since HTTP-Digest authentication uses the realm in it's hash LWP::UserAgent fails computing the correct hash, after altering the realm value. sandoz