dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Expand MWException tests"
[lhc/web/wiklou.git]
/
includes
/
objectcache
/
MemcachedClient.php
diff --git
a/includes/objectcache/MemcachedClient.php
b/includes/objectcache/MemcachedClient.php
index
f0a9128
..
79c5187
100644
(file)
--- a/
includes/objectcache/MemcachedClient.php
+++ b/
includes/objectcache/MemcachedClient.php
@@
-729,7
+729,7
@@
class MWMemcached {
* @access private
*/
function _connect_sock( &$sock, $host ) {
- list( $ip, $port ) =
explode( ':'
, $host );
+ list( $ip, $port ) =
preg_split('/:(?=\d)/'
, $host );
$sock = false;
$timeout = $this->_connect_timeout;
$errno = $errstr = null;