diff --git a/wise-webapp/src/main/java/com/wisemapping/mail/NotificationService.java b/wise-webapp/src/main/java/com/wisemapping/mail/NotificationService.java index 593f2386..7cc3e428 100644 --- a/wise-webapp/src/main/java/com/wisemapping/mail/NotificationService.java +++ b/wise-webapp/src/main/java/com/wisemapping/mail/NotificationService.java @@ -173,8 +173,9 @@ final public class NotificationService { model.put("fullName", (user != null ? user.getFullName() : "'anonymous'")); model.put("email", (user != null ? user.getEmail() : "'anonymous'")); model.put("userAgent", request.getHeader(UserAgent.USER_AGENT_HEADER)); - model.put("server", request.getScheme() + "://" + request.getServerName() + "/" + request.getServerPort()); + model.put("server", request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()); model.put("requestURI", request.getRequestURI()); + model.put("method", request.getMethod()); model.put("remoteAddress", request.getRemoteAddr()); try { diff --git a/wise-webapp/src/main/resources/mail/errorNotification.vm b/wise-webapp/src/main/resources/mail/errorNotification.vm index a0765eaf..bb37aa02 100644 --- a/wise-webapp/src/main/resources/mail/errorNotification.vm +++ b/wise-webapp/src/main/resources/mail/errorNotification.vm @@ -5,8 +5,10 @@