Skip to content

Commit

Permalink
call to ap_sub_req_lookup_uri() needs to pass ctx->f->next rather than
Browse files Browse the repository at this point in the history
NULL for next_filter argument in order for ap_run_sub_req() output to
end up where expected.  ("William A. Rowe, Jr." <[email protected]>)
  • Loading branch information
Doug MacEachern committed Dec 6, 2001
1 parent c08d1ad commit 6adebbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sapi/apache2filter/php_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static request_rec *php_apache_lookup_uri(INTERNAL_FUNCTION_PARAMETERS)
convert_to_string_ex(p1);

ctx = SG(server_context);
return ap_sub_req_lookup_uri(Z_STRVAL_PP(p1), ctx->f->r, NULL);
return ap_sub_req_lookup_uri(Z_STRVAL_PP(p1), ctx->f->r, ctx->f->next);
}

/* {{{ proto bool apache_sub_req(string uri)
Expand Down

0 comments on commit 6adebbf

Please sign in to comment.