Fix missing import of escapeHTML in userlink. (Scott Bronson)
parent
15237c74fc
commit
e1d456a86f
|
@ -621,6 +621,9 @@ sub userlink ($) { #{{{
|
||||||
return "<a href=\"$user\">$oiduser</a>";
|
return "<a href=\"$user\">$oiduser</a>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
eval q{use CGI 'escapeHTML'};
|
||||||
|
error($@) if $@;
|
||||||
|
|
||||||
return htmllink("", "", escapeHTML(
|
return htmllink("", "", escapeHTML(
|
||||||
length $config{userdir} ? $config{userdir}."/".$user : $user
|
length $config{userdir} ? $config{userdir}."/".$user : $user
|
||||||
), noimageinline => 1);
|
), noimageinline => 1);
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
ikiwiki (2.43) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Fix missing import of escapeHTML in userlink. (Scott Bronson)
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Thu, 10 Apr 2008 17:36:53 -0400
|
||||||
|
|
||||||
ikiwiki (2.42) unstable; urgency=high
|
ikiwiki (2.42) unstable; urgency=high
|
||||||
|
|
||||||
* aggregate: Correct a mistake in the code that dummy up a guid for feeds
|
* aggregate: Correct a mistake in the code that dummy up a guid for feeds
|
||||||
|
|
|
@ -19,3 +19,8 @@ This patch appears to fix it for me:
|
||||||
), noimageinline => 1);
|
), noimageinline => 1);
|
||||||
|
|
||||||
That's dirty and wrong though... Can you suggest a better fix? -- [[sabr]]
|
That's dirty and wrong though... Can you suggest a better fix? -- [[sabr]]
|
||||||
|
|
||||||
|
> Hmm, I think I've not noticed this because the openid plugin hides it.
|
||||||
|
> Bet you have openid disabled.
|
||||||
|
>
|
||||||
|
> Anyway, your fix is fine, [[applied|done]]. --[[Joey]]
|
||||||
|
|
Loading…
Reference in New Issue