Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug where content type returned for response could be corrupted w…

…hen using embedded mode.
  • Loading branch information...
commit b0a149c1f5e569932325972e2e20176a42e43517 1 parent 8b4b18e
@GrahamDumpleton authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod_wsgi.c
View
2  mod_wsgi.c
@@ -3252,7 +3252,7 @@ static int Adapter_output(AdapterObject *self, const char *data, int length,
if (*self->config->process_group)
r->content_type = apr_pstrdup(r->pool, value);
else
- ap_set_content_type(r, value);
+ ap_set_content_type(r, apr_pstrdup(r->pool, value));
#endif
}
else if (!strcasecmp(name, "Content-Length")) {
Please sign in to comment.
Something went wrong with that request. Please try again.