diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 91bd422928..a73d9bd929 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -390,7 +390,7 @@ static request_rec *internal_internal_redirect(const char *new_uri, ap_add_input_filter("HTTP_IN", NULL, new, new->connection); apr_table_setn(new->subprocess_env, "REDIRECT_STATUS", - apr_psprintf(r->pool, "%d", r->status)); + apr_itoa(r->pool, r->status)); /* * XXX: hmm. This is because mod_setenvif and mod_unique_id really need