mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
* Mail: Fix "tel:" href links wrongly get denied by mail compose
This commit is contained in:
parent
53b97078ad
commit
d2859d5cee
@ -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