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