]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
html/show.tmpl: Escape maintainer mail address in PTS link
[deb/packages.git] / templates / html / show.tmpl
index b8cc43e97cfeedda8f62381fc15f0912712099fe..7037fee2d9a3037b258584e3f4e3f0f4cb2bd1c3 100644 (file)
        mailarchiveurl = 'http://lists.ubuntu.com/archives/' _ matches.0 _ '/';
   END -%]
   [%- '<ul>' IF loop.first -%]
-       <li><a href="mailto:[% mail %]">[% name | html %]</a>
-       (<a href="[% ddpo_url _ mail %]" title="[% g("An overview over the maintainer's packages and uploads") %]">[% g('QA Page') %]</a>
+       <li><a href="mailto:[% mail | uri %]">[% name | html %]</a>
+       (<a href="[% ddpo_url %][% mail | uri %]" title="[% g("An overview over the maintainer's packages and uploads") %]">[% g('QA Page') %]</a>
        [%- IF mailarchiveurl %], <a href="[% mailarchiveurl %]" title="[% g('Archive of the Maintainer Mailinglist') %]">[% g('Mail Archive') %]</a>[% END %])
        </li>
   [%- '</ul>' IF loop.last -%]