summaryrefslogtreecommitdiff
path: root/modules/generators/mod_cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/generators/mod_cgi.c')
-rw-r--r--modules/generators/mod_cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c
index 385bb364..a6096545 100644
--- a/modules/generators/mod_cgi.c
+++ b/modules/generators/mod_cgi.c
@@ -993,7 +993,7 @@ static int cgi_handler(request_rec *r)
/* This redirect needs to be a GET no matter what the original
* method was.
*/
- r->method = apr_pstrdup(r->pool, "GET");
+ r->method = "GET";
r->method_number = M_GET;
/* We already read the message body (if any), so don't allow