php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58466 memcache keys whitespaces replace issue
Submitted: 2008-12-18 03:47 UTC Modified: 2008-12-25 09:11 UTC
From: paulgao at yeah dot net Assigned:
Status: Closed Package: memcache (PECL)
PHP Version: 5.2.5 OS: Slackware
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: paulgao at yeah dot net
New email:
PHP Version: OS:

 

 [2008-12-18 03:47 UTC] paulgao at yeah dot net
Description:
------------
When using MemcachePool's set method to set array style data, the method doesn't replace whitespaces(tab, etc.) in array keys.

Reproduce code:
---------------
$mcpool = new MemcachePool;

$mcpool->connect('192.168.0.11', 7380, 7380, false, 1, 1);

var_dump($mcpool->set(array(' ' => array()), NULL, 0, 10));


Expected result:
----------------
true

Actual result:
--------------
Notice: MemcachePool::set(): Server 192.168.0.11 (tcp 7380, udp 7380) failed with: Network timeout (0) in /tmp/mctest.php on line 9

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-25 09:11 UTC] mikael at synd dot info
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 08:01:29 2024 UTC