(fix) properly escape the user's display name (fixes #3617)

pull/206/head
Ludovic Marcotte 2016-04-06 08:50:40 -04:00
parent 59dadfd6a4
commit 0c6beb3fd7
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -32,6 +32,7 @@ Bug fixes
- [web] avoid marking mails as read when archiving a folder (#2792)
- [web] fixed crash when sending a message with a special priority
- [web] fixed saving of a custom weekly recurrence definition
- [web] properly escape the user's display name (#3617)
- [dav] we now handle the default classifications for tasks (#3541)
- [eas] properly unfold long mail headers (#3152)
- [eas] correctly set EAS message class for S/MIME messages (#3576)

View File

@ -93,7 +93,7 @@
<var:if condition="shortUserNameForDisplay" const:value="anonymous" const:negate="YES">
var UserFolderURL = '<var:string value="userFolderPath" const:escapeHTML="NO" />';
var UserLogin = '<var:string value="shortUserNameForDisplay" const:escapeHTML="NO" />';
var UserIdentification = '<var:string value="userIdentification" const:escapeHTML="NO" />';
var UserIdentification = <var:string value="userIdentification.doubleQuotedString" const:escapeHTML="NO" />;
var UserEmail = '<var:string value="userEmail" const:escapeHTML="NO" />';
var UserLanguage = '<var:string value="userLanguage" const:escapeHTML="NO" />';