dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab224f8
)
Comments: Added phabricator IDs to bz bug #s
author
Yuri Astrakhan
<yurik@wikimedia.org>
Sun, 23 Oct 2016 01:46:14 +0000
(21:46 -0400)
committer
Reedy
<reedy@wikimedia.org>
Mon, 24 Oct 2016 19:56:07 +0000
(19:56 +0000)
Change-Id: Ia8d4e570e78c62e5c26bda0264fbf1efc74e58a2
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
b5bd434
..
2e4ef89
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-338,7
+338,7
@@
class Language {
// People think language codes are html safe, so enforce it.
// Ideally we should only allow a-zA-Z0-9-
// but, .+ and other chars are often used for {{int:}} hacks
- // see bugs
37564, 37587, 36
938
+ // see bugs
T39564, T39587, T38
938
$cache[$code] =
// Protect against path traversal
strcspn( $code, ":/\\\000&<>'\"" ) === strlen( $code )