mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:51 +01:00
* Mail: Fix "tel:" href links wrongly get denied by mail compose
This commit is contained in:
parent
d7ce6af567
commit
f97c18c108
@ -92,7 +92,7 @@ class HtmLawed
|
|||||||
'tidy'=>0,
|
'tidy'=>0,
|
||||||
'elements' => "* -script",
|
'elements' => "* -script",
|
||||||
'deny_attribute' => 'on*',
|
'deny_attribute' => 'on*',
|
||||||
'schemes'=>'href: file, ftp, http, https, mailto; src: cid, data, file, ftp, http, https; *:file, http, https',
|
'schemes'=>'href: file, ftp, http, https, mailto, tel, phone; src: cid, data, file, ftp, http, https; *:file, http, https',
|
||||||
'hook_tag' =>"hl_my_tag_transform",
|
'hook_tag' =>"hl_my_tag_transform",
|
||||||
);
|
);
|
||||||
$this->Spec = 'img=alt(noneof="image"/default="")';
|
$this->Spec = 'img=alt(noneof="image"/default="")';
|
||||||
|
@ -143,7 +143,7 @@ class Mail
|
|||||||
'tidy'=>0,
|
'tidy'=>0,
|
||||||
'elements' => "* -script",
|
'elements' => "* -script",
|
||||||
'deny_attribute' => 'on*',
|
'deny_attribute' => 'on*',
|
||||||
'schemes'=>'href: file, ftp, http, https, mailto, phone; src: cid, data, file, ftp, http, https; *:file, http, https, cid, src',
|
'schemes'=>'href: file, ftp, http, https, mailto, phone, tel; src: cid, data, file, ftp, http, https; *:file, http, https, cid, src',
|
||||||
'hook_tag' =>"hl_email_tag_transform",
|
'hook_tag' =>"hl_email_tag_transform",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user