Extraneous space on GET/GETS

Bug #1016172 reported by Kal McFate
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libmemcached
Fix Released
Medium
Brian Aker

Bug Description

When sending a GET or GETS with non binary protocol current space handling add a space after the final keyname. This behavior does not specifically cause problems with memcache. However other services implement the protocol in a way where extra data in the request can cause errors. There should not be an extra space at the end of a GET or GETS request.

Output:
"GET keyname "

Patched Output:
"GET keyname"

Patch is included.

Revision history for this message
Kal McFate (kmcfate) wrote :
Revision history for this message
Kal McFate (kmcfate) wrote :

Original patch was for prior version. Updated to latest.

Brian Aker (brianaker)
Changed in libmemcached:
milestone: none → 1.0.9
assignee: nobody → Brian Aker (brianaker)
importance: Undecided → Medium
status: New → In Progress
Brian Aker (brianaker)
Changed in libmemcached:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.