Inline warnings can contain HTML code (regression fix)

pull/6085/head
Aleksander Machniak 7 years ago
parent db382fa19c
commit 00cb440a07

@ -70,7 +70,7 @@ class rcmail_html_page extends rcmail_output_html
*/
public function register_inline_warning($text, $button_label = null, $button_url = null)
{
$text = html::span('', rcube::Q($text));
$text = html::span('', $text);
if ($button_label) {
$onclick = "location.href = '$button_url'";

@ -199,7 +199,7 @@ $messages['invalidimageformat'] = 'Not a valid image format.';
$messages['mispellingsfound'] = 'Spelling errors detected in the message.';
$messages['parentnotwritable'] = 'Unable to create/move folder into selected parent folder. No access rights.';
$messages['messagetoobig'] = 'The message part is too big to process it.';
$messages['attachmentvalidationerror'] = 'WARNING! This attachment is suspicious because its type doesn\'t match the type declared in the message. If you do not trust the sender, you shouldn\'t open it in the browser because it may contain malicious contents.<br/><br/><em>Expected: $expected; found: $detected</em>';
$messages['attachmentvalidationerror'] = 'This attachment is suspicious because its type doesn\'t match the type declared in the message. If you do not trust the sender, you shouldn\'t open it in the browser because it may contain malicious contents.<br/><br/><em>Expected: $expected; found: $detected</em>';
$messages['noscriptwarning'] = 'Warning: This webmail service requires Javascript! In order to use it please enable Javascript in your browser\'s settings.';
$messages['messageissent'] = 'The message was already sent, but not saved yet. Do you want to save it now?';
$messages['errnotfound'] = 'File Not Found';

Loading…
Cancel
Save