This queue is for tickets about the Net-OpenID-Consumer CPAN distribution.

Report information
The Basics
Id:
40576
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
MART [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Yadis code doesn't recognise "application/xrds+xml; charset=utf-8" as an acceptable MIME type for the service document
Google's implementation returns the XRDS document with a Content-type of "application/xrds+xml; charset=utf-8". Our Yadis implementation requires it to be exactly "application/xrds+xml", so we fail Yadis discovery in this case. We need to firstly allow attributes on the MIME type, and secondly take the value of "charset" and pass it through to the XML parser so that it's primed with the right character encoding.
On Fri Oct 31 17:50:29 2008, MART wrote:
Show quoted text
> Google's implementation returns the XRDS document with a Content-type > of "application/xrds+xml; charset=utf-8". Our Yadis implementation > requires it to be exactly "application/xrds+xml", so we fail Yadis > discovery in this case. > > We need to firstly allow attributes on the MIME type, and secondly
take
Show quoted text
> the value of "charset" and pass it through to the XML parser so that > it's primed with the right character encoding.
We now strip off the attributes but ignore them. I'll file a ticket separately for actually respecting the charset attribute.
Fixed in 1.03.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.