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:
09ce825
)
* Escape page title
author
Niklas Laxström
<nikerabbit@users.mediawiki.org>
Wed, 17 Jan 2007 23:44:43 +0000
(23:44 +0000)
committer
Niklas Laxström
<nikerabbit@users.mediawiki.org>
Wed, 17 Jan 2007 23:44:43 +0000
(23:44 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
ad4e618
..
5fc1586
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-2478,7
+2478,7
@@
class User {
if( $title ) {
global $wgUser;
$sk = $wgUser->getSkin();
- return $sk->makeLinkObj( $title,
$text
);
+ return $sk->makeLinkObj( $title,
htmlspecialchars( $text )
);
} else {
return $text;
}