|
|
@ -252,8 +252,7 @@ class MailFunc extends PHPUnit\Framework\TestCase
|
|
|
|
$body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false));
|
|
|
|
$body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false));
|
|
|
|
|
|
|
|
|
|
|
|
$this->assertNotContains('href="/"', $body);
|
|
|
|
$this->assertNotContains('href="/"', $body);
|
|
|
|
$this->assertContains('<a href="./#NOP"', $body);
|
|
|
|
$this->assertContains('<a>', $body);
|
|
|
|
$this->assertContains('onclick="return false"', $body);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$html = '<a href="https://roundcube.net">test</a>';
|
|
|
|
$html = '<a href="https://roundcube.net">test</a>';
|
|
|
|
$body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false));
|
|
|
|
$body = rcmail_print_body($html, $this->get_html_part(), array('safe' => false, 'plain' => false));
|
|
|
|