Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginWbPassThrough.cpp

Issue 6585196354732032: Issue 1634 - ABP for IE dev build v1.2.727 - ieframe crash (Closed)
Patch Set: Created Nov. 28, 2014, 12:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginWbPassThrough.cpp
===================================================================
--- a/src/plugin/PluginWbPassThrough.cpp
+++ b/src/plugin/PluginWbPassThrough.cpp
@@ -327,7 +327,7 @@
m_contentType = ContentType::CONTENT_TYPE_OBJECT_SUBREQUEST;
}
- if (pszAdditionalHeaders && IsXmlHttpRequest(*pszAdditionalHeaders))
+ if (pszAdditionalHeaders && *pszAdditionalHeaders && IsXmlHttpRequest(*pszAdditionalHeaders))
{
m_contentType = ContentType::CONTENT_TYPE_XMLHTTPREQUEST;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld