| Index: third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp b/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| index 9fc4021c83cb0cc755e84c7a384d8fbc45db78c3..4d74d13ad8392849057826d1266e20241195e87a 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| @@ -869,13 +869,14 @@ String XSSAuditor::canonicalizedSnippetForJavaScript(
|
| bool XSSAuditor::isContainedInRequest(const String& decodedSnippet) {
|
| if (decodedSnippet.isEmpty())
|
| return false;
|
| - if (m_decodedURL.find(decodedSnippet, 0, TextCaseInsensitive) != kNotFound)
|
| + if (m_decodedURL.find(decodedSnippet, 0, TextCaseUnicodeInsensitive) !=
|
| + kNotFound)
|
| return true;
|
| if (m_decodedHTTPBodySuffixTree &&
|
| !m_decodedHTTPBodySuffixTree->mightContain(decodedSnippet))
|
| return false;
|
| - return m_decodedHTTPBody.find(decodedSnippet, 0, TextCaseInsensitive) !=
|
| - kNotFound;
|
| + return m_decodedHTTPBody.find(decodedSnippet, 0,
|
| + TextCaseUnicodeInsensitive) != kNotFound;
|
| }
|
|
|
| bool XSSAuditor::isLikelySafeResource(const String& url) {
|
|
|