summaryrefslogtreecommitdiffstats
path: root/chrome_frame/html_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/html_utils.cc')
-rw-r--r--chrome_frame/html_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/html_utils.cc b/chrome_frame/html_utils.cc
index dcc1f53..9395afa 100644
--- a/chrome_frame/html_utils.cc
+++ b/chrome_frame/html_utils.cc
@@ -360,7 +360,7 @@ bool HasFrameBustingHeader(const std::string& http_headers) {
net::HttpUtil::HeadersIterator it(
http_headers.begin(), http_headers.end(), "\r\n");
while (it.GetNext()) {
- if (it.name() == kXFrameOptionsHeader) {
+ if (lstrcmpiA(it.name().c_str(), kXFrameOptionsHeader) == 0) {
std::string allow_all(kXFrameOptionsValueAllowAll);
if (it.values_end() - it.values_begin() != allow_all.length() ||
!std::equal(it.values_begin(), it.values_end(),