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:
99e9235
)
htmlspecialchars instead of urlencode
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Tue, 18 May 2004 12:50:53 +0000
(12:50 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Tue, 18 May 2004 12:50:53 +0000
(12:50 +0000)
includes/PageHistory.php
patch
|
blob
|
history
diff --git
a/includes/PageHistory.php
b/includes/PageHistory.php
index
c96ab31
..
f3b24cd
100644
(file)
--- a/
includes/PageHistory.php
+++ b/
includes/PageHistory.php
@@
-111,7
+111,7
@@
class PageHistory {
$this->lastdate = $this->lastline = "";
$s = "\n<p>" . wfMsg( "histlegend" ).'</p>';
$s .="\n<form id=\"pagehistory\" name=\"pagehistory\" action=\"" . $wgTitle->getFullURL("-") . "\" method=\"get\">";
- $s .= "<input type=\"hidden\" name=\"title\" value=\"".
urlencode
($wgTitle->getPrefixedDbKey())."\"/>\n";
+ $s .= "<input type=\"hidden\" name=\"title\" value=\"".
htmlspecialchars
($wgTitle->getPrefixedDbKey())."\"/>\n";
$s .= "" . "\n<ul>";
return $s;
}