From afb86872c05cb872b11b02033e04879504f2487a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 10 Dec 2015 16:35:02 -0800 Subject: [PATCH] Fix bad regex in 6fe2f48df Change-Id: I51d136a491111b7c980ddb13fff74bf4a63b15ad --- includes/jobqueue/JobQueueRedis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." ); } } -- 2.20.1