Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-Amazon-S3 CPAN distribution.

Report information
The Basics
Id: 35710
Status: rejected
Priority: 0/
Queue: Net-Amazon-S3

People
Owner: Nobody in particular
Requestors: joey [...] kitenet.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: storing utf-8 data in a key can cause a crash
HTTP::Message content must be bytes at /usr/share/perl5/Net/Amazon/S3.pm line 683 This error can occur if add_key is passed a scalar that has the utf-8 flag turned on, and that utf::downgrade cannot downgrade. Which happens whenever it's contains a value not in ASCII.. (In my case, I think it was "ş"). I worked around the problem by running encode_utf8($content) before passing $content to add_key. Putting the same utf-8 string in the key name seems to work ok, BTW.
Can not replicate. Works fine for me.