mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Avoid DOMPurify mess with forward slash in expirationDateString
This commit is contained in:
parent
4984194c33
commit
74551f58d7
|
@ -3748,8 +3748,12 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
if (expirationDateString !== null) {
|
||||
emailBody += EOL;
|
||||
emailBody += BULLET;
|
||||
emailBody += I18n._(
|
||||
'This link will expire after %s.',
|
||||
// avoid DOMPurify mess with forward slash in expirationDateString
|
||||
emailBody += Helper.sprintf(
|
||||
I18n._(
|
||||
'This link will expire after %s.',
|
||||
'%s'
|
||||
),
|
||||
expirationDateString
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user