Jqnatividad has uploaded a new change for review. https://gerrit.wikimedia.org/r/104751
Change subject: Corrected regex to handle unix domain socket and IPV4 formats. IPV6 is not supported for now. ...................................................................... Corrected regex to handle unix domain socket and IPV4 formats. IPV6 is not supported for now. Change-Id: I92263183ebd21fcb6a13e83b2193d5ddb92659b4 --- M includes/objectcache/MemcachedClient.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/51/104751/1 diff --git a/includes/objectcache/MemcachedClient.php b/includes/objectcache/MemcachedClient.php index 9c0c638..79c5187 100644 --- a/includes/objectcache/MemcachedClient.php +++ b/includes/objectcache/MemcachedClient.php @@ -729,7 +729,7 @@ * @access private */ function _connect_sock( &$sock, $host ) { - list( $ip, $port ) = preg_split('/(?!\w):(?=\d)/' , $host ); + list( $ip, $port ) = preg_split('/:(?=\d)/' , $host ); $sock = false; $timeout = $this->_connect_timeout; $errno = $errstr = null; -- To view, visit https://gerrit.wikimedia.org/r/104751 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I92263183ebd21fcb6a13e83b2193d5ddb92659b4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Jqnatividad <joel.nativi...@ontodia.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits