fixes a page fault on NetWare when using mod_proxy with mod_cache.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@101365
13f79535-47bb-0310-9956-
ffa450edef68
char *url, *p;
int access_status;
- if (!r->proxyreq || strncmp(r->filename, "proxy:", 6) != 0)
+ if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0)
return DECLINED;
/* XXX: Shouldn't we try this before we run the proxy_walk? */
long maxfwd;
/* is this for us? */
- if (!r->proxyreq || strncmp(r->filename, "proxy:", 6) != 0)
+ if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0)
return DECLINED;
/* handle max-forwards / OPTIONS / TRACE */