Searched refs:sanitize (Results 1 – 5 of 5) sorted by relevance
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
D | BasicHtmlSanitizerTest.java | 13 sanitize("<div dir=\"ltr\">something</div>", "<div dir=\"ltr\">something</div>"); in testAttributeDir() 14 sanitize("<div dir=\"rtl\">something</div>", "<div dir=\"rtl\">something</div>"); in testAttributeDir() 15 sanitize("<div dir=\"LTR\">something</div>", "<div dir=\"ltr\">something</div>"); in testAttributeDir() 16 sanitize("<div dir=\"RTL\">something</div>", "<div dir=\"rtl\">something</div>"); in testAttributeDir() 17 sanitize("<div dir=\"blah\">something</div>", "<div>something</div>"); in testAttributeDir() 22 sanitize("<a coords=\"something\"></a>", "<a coords=\"something\"></a>"); in testA() 23 sanitize("<a href=\"http://www.here.com\"></a>", "<a href=\"http://www.here.com\"></a>"); in testA() 24 sanitize("<a href=\"https://www.here.com\"></a>", "<a href=\"https://www.here.com\"></a>"); in testA() 25 sanitize("<a name=\"something\"></a>", "<a name=\"something\"></a>"); in testA() 26 sanitize("<a shape=\"something\"></a>", "<a shape=\"something\"></a>"); in testA() [all …]
|
D | AdvancedHtmlSanitizerTest.java | 12 sanitize("<html>\n" + in testSampleEmail() 49 sanitize("'';!--\"<XSS>=&{()}", "'';!--"=&{()}"); in testXSS() 50 sanitize("<img src=javascript:alert(String.fromCharCode(88,83,83))>", ""); in testXSS() 51 sanitize("\\\";alert('XSS');//", "\\";alert('XSS');//"); in testXSS() 52 sanitize("<br size=\"&{alert('XSS')}\">", "<br />"); in testXSS() 53 sanitize("<xss style=\"xss:expression(alert('XSS'))\">", ""); in testXSS() 54 sanitize("<xss style=\"behavior: url(xss.htc);\">", ""); in testXSS() 55 sanitize("¼script¾alert(¢XSS¢)¼/script¾", "¼script¾alert(¢XSS¢)¼/script¾"); in testXSS() 56 sanitize("<xml><i><b><img src=\"javas<!-- -->cript:alert('XSS')\"></b></i></xml>", in testXSS() 58 sanitize("<xml src=\"xsstest.xml\" id=I></xml>", ""); in testXSS() [all …]
|
D | QuotedHtmlSanitizerTest.java | 17 sanitize("<div class=\"garbage\"></div>", "<div></div>"); in testGarbageDiv() 24 sanitize("<div class=\"gmail_quote\"></div>", "<div class=\"elided-text\"></div>"); in testGmailQuotedTextDiv() 31 sanitize("<div class=\"yahoo_quoted\"></div>", "<div class=\"elided-text\"></div>"); in testYahooQuotedTextDiv() 38 sanitize("<div id=\"AOLMsgPart_1_59da800c-ba5d-45c5-9ff7-29a8264a5bd9\"></div>", in testAOLQuotedTextDiv() 40 sanitize("<div id=\"AOLMsgPart_1_b916b4c7-3047-43a9-b24d-83b7ffd2b9b7\"></div>", in testAOLQuotedTextDiv() 44 private void sanitize(String dirtyHTML, String expectedHTML) { in sanitize() method in QuotedHtmlSanitizerTest
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | HtmlSanitizer.java | 403 org.owasp.html.HtmlSanitizer.sanitize(rawHtml, policy); in sanitizeHtml()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_US_wordlist.combined.gz |
|