First, thanks a lot for all your work on Suite!
In our use of Suite, it is common to paste the text of an email into the description of a call. Among others, this allows us to find text in emails in connection to a call, and discover email addresses of persons who do not have a dedicated record in Suite. In addition, our emails frequently contain e.g. JavaScript snippets in between <script> tags, which are also silently removed.
When upgrading to 7.8.8, I've discovered that when a call is opened and saved again, Suite now removes everything between < and >, and unfortunately this includes email addresses. I think it may be caused by #4130, released in 7.8.6.
Suite should show the description of a call exactly as it was entered, displaying text between < and > as text by using quoting in order to prevent XSS.
When saving a call, the text in the description is modified and text between < and > such as email addresses is silently removed. Even HTML encoded text such as <foo> is removed, which makes saving emails (e.g. with clients) that talk about HTML encoding impossible since the text is unreadable after saving.
I think it may be caused by #4130 being overeager and removing data that it shouldn't.
foo bar <[email protected]>, other user into the description fieldfoo bar , other user, removing the email address<javascript>console.log('foo')</script>
This bug has affected us so that we had to restore several calls from a backup and downgrade SuiteCRM again. We didn't expect it to suddenly mangling and removing text and email addresses from call descriptions.
Please let me know if there's anything I can do to help!
This is not just in Calls it affects every input field
https://suitecrm.com/forum/developer-help/16364-suitecrm-7-8-7-strips-any-text-in-angle-brackets
caused by a change to clean.php
There definitely seems to be an issue with HTML being stripped out unnecessarily. Although in some cases this would be intentional like