URI encode branch parameter.
authorKirill Miazine <km@krot.org>
Sun, 2 Jul 2017 13:21:49 +0000 (15:21 +0200)
committerfarm <farm@farm.default.exim.uk0.bigv.io>
Sun, 2 Jul 2017 13:21:49 +0000 (15:21 +0200)
templates/members.tt

index 599967a3c41821002b930d68dddd1c4a95a0c8cd..b3cdefe37f61c0248e504556b135f0a2eceef732 100644 (file)
@@ -66,7 +66,7 @@ See accompanying License file for license details
        branch_day = branch_fields.1;
        IF branch_day < 365 ;
     %]<li><a 
-    href="show_history.pl?nm=[% row.name %]&amp;br=[% branch %]"
+    href="show_history.pl?nm=[% row.name %]&amp;br=[% branch | uri %]"
     title="History"
     >[% branch %]</a>&nbsp;([% branch_day %]&nbsp;days&nbsp;ago)</li>[% END; END %]</ul></td>
     </tr>