]> WPIA git - gigi.git/commitdiff
Fix: followups for sprintf syntax
authorFelix Dörre <felix@dogcraft.de>
Sun, 15 Mar 2015 10:01:32 +0000 (11:01 +0100)
committerFelix Dörre <felix@dogcraft.de>
Sun, 15 Mar 2015 10:01:32 +0000 (11:01 +0100)
src/org/cacert/gigi/pages/admin/TTPAdminPage.java

index 2f2c25d253edc60c985035d19f0720f91a91c098..5dbc6409db536713c4651b29bc566a069e741f67 100644 (file)
@@ -47,7 +47,7 @@ public class TTPAdminPage extends Page {
             int id = Integer.parseInt(path.substring(1 + PATH.length()));
             User u = User.getById(id);
             if (u == null || !u.isInGroup(TTP_APPLICANT)) {
             int id = Integer.parseInt(path.substring(1 + PATH.length()));
             User u = User.getById(id);
             if (u == null || !u.isInGroup(TTP_APPLICANT)) {
-                SprintfCommand command = new SprintfCommand("The TTP-request is not available anymore. You might want to go {0}back{1}.", Arrays.asList("!\"<a href='" + PATH + "'>", "!\"</a>"));
+                SprintfCommand command = new SprintfCommand("The TTP-request is not available anymore. You might want to go {0}back{1}.", Arrays.asList("!'<a href=\"" + PATH + "\">", "!'</a>"));
                 req.setAttribute(PageNotFound.MESSAGE_ATTRIBUTE, command);
                 resp.sendError(404);
                 return;
                 req.setAttribute(PageNotFound.MESSAGE_ATTRIBUTE, command);
                 resp.sendError(404);
                 return;