Commit 22413687 authored by Greg Ames's avatar Greg Ames
Browse files

whoops! replace two post 2.0.24 fixes I accidently wiped out yesterday.

Reported by: Jeff Trawick, Paul Reder


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90553 13f79535-47bb-0310-9956-ffa450edef68
parent 56061357
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -275,6 +275,7 @@ static apr_bucket *find_end_sequence(apr_bucket *dptr, include_ctx_t *ctx, apr_b
                if (ctx->state == PARSE_DIRECTIVE) {
                    /* gonna start over parsing the directive next time through */
                    ctx->directive_length = 0;
                    ctx->tag_length       = 0;
                }
                return dptr;
            }
@@ -832,7 +833,8 @@ static int handle_include(include_ctx_t *ctx, apr_bucket_brigade **bb, request_r
                    for (p = r; p != NULL && !founddupe; p = p->main) {
    		    request_rec *q;
    		    for (q = p; q != NULL; q = q->prev) {
    			if ( (strcmp(q->filename, rr->filename) == 0) ||
                        if ((q->filename && rr->filename && 
                                    (strcmp(q->filename, rr->filename) == 0)) ||
                                (strcmp(q->uri, rr->uri) == 0)) {
    			    founddupe = 1;
    			    break;