a NULL argument in ecb->lpszQueryString, eliminating segfaults
for some ISAPI modules.
PR: 14399
Submitted by: Detlev Vendt <detlev.vendt@brillit.de>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97468
13f79535-47bb-0310-9956-
ffa450edef68
cid->ecb->lpszPathTranslated = (char*) apr_table_get(e, "PATH_TRANSLATED");
cid->ecb->lpszContentType = (char*) apr_table_get(e, "CONTENT_TYPE");
- /* Based on some examples I've noticed, NULL is expected here.
- */
- if (!*cid->ecb->lpszQueryString) {
- cid->ecb->lpszQueryString = NULL;
- }
-
/* Set up the callbacks */
cid->ecb->GetServerVariable = GetServerVariable;
cid->ecb->WriteClient = WriteClient;