| 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; |
| } |