Fix bad regex in 6fe2f48df
[lhc/web/wiklou.git] / includes / jobqueue / JobQueueRedis.php
index 9ce9bf9..b1efa5b 100644 (file)
@@ -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." );
                    }
                }