Properly handle tags with certain characters on the latest entries page.

        Patch by sophie. 

diffs (12 lines):

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
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to