ZBUG-1932: Upgrading owasp-java-html-sanitizer version #1227
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
When OWASP zimbra_use_owasp_html_sanitizer = true, URL in the HTML message is getting modified. Character &num replace by #_
Issues: ZBUG-1932
Fix:
ZBUG-1932
Issue has been fixed in the original owasp library and zimbra java-html-sanitizer-release-20190610.1 is rebased with the latest release. These test cases are to make sure the urls are not changed as mentioned in the ticket when html is sanitized with newer jar.
Ref PRs:
java-html-sanitizer#6
zm-zcs-lib#89