commit | ccf9a34bcdcfdb884799ea3f3ecbd425970f26fc | [log] [tgz] |
---|---|---|
author | James Lemieux <jplemieux@google.com> | Thu Sep 04 17:53:52 2014 -0700 |
committer | James Lemieux <jplemieux@google.com> | Mon Sep 08 11:07:12 2014 -0700 |
tree | 4e32ff47c7c806b7612c56e515b532f20a437704 | |
parent | e26853a5f7c19fc037a2ff5223adcd66596b9b2c [diff] |
Add support for disabling email sanitization b/16896849 HtmlSanitizer defines a public static final int VERSION that should be bumped any time a change to the sanitizer's configuration is made. ConversationViewPager now compares the current sanitizer version against the target version number from MailPrefs to decide if the sanitized output is "safe". The Html is displayed in a sandbox without scripting if it isn't safe. Change-Id: Ia265180893dbdd9ef209d3ee6ea87c7eb468e6b3