Issues

ZF-11757: Zend_Service_Amazon_Sqs::receive does not provide an option for turning off urldecode on the message.

Description

An option needs to be added to the receive function or the class needs a receive_raw function to enable receipt of a raw message. Not all are urlencoded when placed on the queue.

Comments

IMO the URL encoding should be turned off completely, as it messes with the message body without even looking at the supplied MD5 checksum. Other libraries may not use URL encoding. For instance Amazons SNS service puts JSON encoded message bodies in SQS, which may end up being unreadable because of the URL decoding.