|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58075 key treated as ascii in binary protocol
Submitted: 2008-03-03 06:19 UTC Modified: 2008-12-25 08:49 UTC
From: serhat at sakarya dot nl Assigned:
Status: No Feedback Package: memcache (PECL)
PHP Version: 5.2.1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
40 + 8 = ?
Subscribe to this entry?

 [2008-03-03 06:19 UTC] serhat at sakarya dot nl
When using MemcachePool in binary mode, mmc_prepare_key_ex() shouldn't replace spaces with underscores like it does in ascii mode.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-11 15:34 UTC] mikael at synd dot info
Yes it should; or people who are mixing the binary and ascii protocol would get a lot of protocol errors for the ascii protocol. Though when fetching multiple values the binary protocol returns arrays with the original (unescaped) keys.

However, if you can present a compelling argument for it shouldn't escape the keys we'll consider changing the current behavior.
 [2008-12-25 08:49 UTC] mikael at synd dot info
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 04:01:31 2024 UTC