Hi, we have the requirement that the username in a notification mail must be URL-encoded (as part of a link inside the mail).
Is there a way to do this in Syncope currently? As far as I understand the code generating the mails (NotificationManager), probably not? If not, a way to achieve this could be to add the Velocity EscapeTool [1] to the Velocity context before executing the template. This could be generalized by making NotificationManager extensible such that the creation of the Velocity context can be modified, and possibly providing an implementation that adds the Velocity toolbox, maybe in a similar way as in Spring MVC [2]. What do you think? Regards, Guido [1] http://velocity.apache.org/tools/devel/generic/EscapeTool.html [2] http://docs.spring.io/spring/docs/3.2.8.RELEASE/javadoc-api/org/springframework/web/servlet/view/velocity/VelocityViewResolver.html