Hi all,
We have big difficulties with using <> brackets in our letters. Our clients receive such messages without a text we write.
We are a technological startup and need to send HTML code examples to our clients.
I saw similar OSTicket's tickets, are there is a recommendation to whitelist some tags in "HTMLLawed" lib, but... this is incorrect and a potential security breach does not solving the issue at all.
Nobody needs to whitelist any tag, because editor should not generate any tags when user writes some HTML code as text. It should convert <> to <> before sending to DB (and before sanitizing with HTMLLawed).
The only I need to whitelist should be <code> and <pre> tags if they are not whitelisted by default (why?), like tags <b>, <i>, etc..
Any special sequences are not security issues and should go without any striping out.
Maybe this is an issue of the default HTML editor? Is there any chance to switch to CKEditor/TinyMCE which can correctly encode/decode such texts with brackets?