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:
801d025
)
Reject titles with %XX hex codes (since these have special meaning in URL links and...
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 16 Oct 2004 07:15:18 +0000
(07:15 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 16 Oct 2004 07:15:18 +0000
(07:15 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
ef11553
..
3924085
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-979,7
+979,7
@@
class Title {
if ( $imgpre === false ) {
$imgpre = ':' . $wgContLang->getNsText( Namespace::getImage() ) . ':';
# % is needed as well
- $rxTc = '/[^' . Title::legalChars() . ']/';
+ $rxTc = '/[^' . Title::legalChars() . ']
|%[0-9A-Fa-f]{2}
/';
}
$this->mInterwiki = $this->mFragment = '';