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:
dd420bc
)
xhtml correctness for namespaces containing &
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 29 Jan 2008 23:30:20 +0000
(23:30 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 29 Jan 2008 23:30:20 +0000
(23:30 +0000)
includes/SpecialSearch.php
patch
|
blob
|
history
diff --git
a/includes/SpecialSearch.php
b/includes/SpecialSearch.php
index
e30ad08
..
d28cea3
100644
(file)
--- a/
includes/SpecialSearch.php
+++ b/
includes/SpecialSearch.php
@@
-392,8
+392,9
@@
class SpecialSearch {
if( '' == $name ) {
$name = wfMsg( 'blanknamespace' );
}
+ $encName = htmlspecialchars( $name );
$namespaces .= " <label><input type='checkbox' value=\"1\" name=\"" .
- "ns{$ns}\"{$checked} />{$
n
ame}</label>\n";
+ "ns{$ns}\"{$checked} />{$
encN
ame}</label>\n";
}
$checked = $this->searchRedirects