From: Aaron Schulz Date: Fri, 11 Dec 2015 00:35:02 +0000 (-0800) Subject: Fix bad regex in 6fe2f48df X-Git-Tag: 1.31.0-rc.0~8735 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=afb86872c05cb872b11b02033e04879504f2487a;p=lhc%2Fweb%2Fwiklou.git Fix bad regex in 6fe2f48df Change-Id: I51d136a491111b7c980ddb13fff74bf4a63b15ad --- diff --git a/includes/jobqueue/JobQueueRedis.php b/includes/jobqueue/JobQueueRedis.php index 9ce9bf94c3..b1efa5b2fd 100644 --- a/includes/jobqueue/JobQueueRedis.php +++ b/includes/jobqueue/JobQueueRedis.php @@ -791,7 +791,7 @@ LUA; } foreach ( $parts as $part ) { - if ( !preg_match( '/[a-zA-Z0-9_-.]+/', $part ) ) { + if ( !preg_match( '/[a-zA-Z0-9_-]+/', $part ) ) { throw new InvalidArgumentException( "Key part characters are out of range." ); } }