[dw-free] Tags starting with & and with a space handed incorrectly in latest things tag cloud
[commit: http://hg.dwscoalition.org/dw-free/rev/e5e7c15b8f61]
http://bugs.dwscoalition.org/show_bug.cgi?id=2913
Properly handle tags with certain characters on the latest entries page.
Patch by
sophie.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2913
Properly handle tags with certain characters on the latest entries page.
Patch by
Files modified:
- htdocs/latest.bml
--------------------------------------------------------------------------------
diff -r faebcc7f9e5c -r e5e7c15b8f61 htdocs/latest.bml
--- a/htdocs/latest.bml Fri Nov 12 17:27:11 2010 +0800
+++ b/htdocs/latest.bml Fri Nov 12 18:26:32 2010 +0800
@@ -121,7 +121,7 @@ body<=
my $taghr = {
map {
$tfmap->{$_}->{tag} => {
- url => "$LJ::SITEROOT/latest?tag=$tfmap->{$_}->{tag}",
+ url => "$LJ::SITEROOT/latest?tag=" . LJ::eurl( $tfmap->{$_}->{tag} ),
value => $tfmap->{$_}->{count}
}
} keys %$tfmap
--------------------------------------------------------------------------------
