Skip Menu |

This queue is for tickets about the RT-Client-REST CPAN distribution.

Report information
The Basics
Id: 34917
Status: resolved
Priority: 0/
Queue: RT-Client-REST

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

Bug Information
Severity: Normal
Broken in: 0.34
Fixed in: 0.35



Subject: [PATCH] client breaks on charset=utf-8 from the server
I don't really know what is going on and where the bug is. I noticed a few days a go that a script of mine stopped working that talked to rt.cpan.org. Maybe somebody added the charset=utf-8 to the Content-Type header? I don't know. Then I looked at the code of REST.pm and immediately spotted the encoding conversion as a potential magnet for bug. So I tried to replace the whole mechanism with the decoded_content method. As a result my script started to work again. All tests pass too. I hope this helps. I'm really sorry that I cannot explain what is wrong with the current code. The patch is uploaded to my CPAN directory as ANDK/patches/RT-Client-REST-0.34-ANDK-01.patch.gz Enjoy,
Subject: Re: [rt.cpan.org #34917] [PATCH] client breaks on charset=utf-8 from the server
Date: Tue, 15 Apr 2008 09:59:38 +0000
To: bug-RT-Client-REST [...] rt.cpan.org
From: dams <dams [...] gentoo.org>
Thanks. I'm looking at it. On Sat, 12 Apr 2008 11:18:22 -0400 "Andreas Koenig via RT" <bug-RT-Client-REST@rt.cpan.org> wrote: Show quoted text
> > Sat Apr 12 11:18:21 2008: Request 34917 was acted upon. > Transaction: Ticket created by ANDK > Queue: RT-Client-REST > Subject: [PATCH] client breaks on charset=utf-8 from the server
[...] Show quoted text
> The patch is uploaded to my CPAN directory as > > ANDK/patches/RT-Client-REST-0.34-ANDK-01.patch.gz > > Enjoy, >
-- dams
From: DAMS [...] cpan.org
Patch applied in version 0.35.
was applied in 0.35, but with a bug, fixed in 0.36 (hopefully)