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:
84106fe
)
Errant escaping of titles
author
Rob Church
<robchurch@users.mediawiki.org>
Mon, 6 Aug 2007 07:14:29 +0000
(07:14 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Mon, 6 Aug 2007 07:14:29 +0000
(07:14 +0000)
includes/LogPage.php
patch
|
blob
|
history
diff --git
a/includes/LogPage.php
b/includes/LogPage.php
index
38f4fa2
..
8982b59
100644
(file)
--- a/
includes/LogPage.php
+++ b/
includes/LogPage.php
@@
-155,7
+155,7
@@
class LogPage {
switch( $type ) {
case 'move':
$titleLink = $skin->makeLinkObj( $title, $title->getPrefixedText(), 'redirect=no' );
- $params[0] = $skin->makeLinkObj( Title::newFromText( $params[0] ),
$params[0]
);
+ $params[0] = $skin->makeLinkObj( Title::newFromText( $params[0] ),
htmlspecialchars( $params[0] )
);
break;
case 'block':
if( substr( $title->getText(), 0, 1 ) == '#' ) {