You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2017/11/01 20:29:12 UTC
svn commit: r1813991 - /httpd/httpd/trunk/modules/filters/mod_proxy_html.c
Author: jailletc36
Date: Wed Nov 1 20:29:12 2017
New Revision: 1813991
URL: http://svn.apache.org/viewvc?rev=1813991&view=rev
Log:
Save a few bytes in the conf pool when handling 'ProxyHTMLDoctype' directive with a user defined FPI
Modified:
httpd/httpd/trunk/modules/filters/mod_proxy_html.c
Modified: httpd/httpd/trunk/modules/filters/mod_proxy_html.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_proxy_html.c?rev=1813991&r1=1813990&r2=1813991&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_proxy_html.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_proxy_html.c Wed Nov 1 20:29:12 2017
@@ -1181,7 +1181,7 @@ static const char *set_doctype(cmd_parms
cfg->doctype = fpi_html5;
}
else {
- cfg->doctype = apr_pstrdup(cmd->pool, t);
+ cfg->doctype = t;
if (l && ((l[0] == 'x') || (l[0] == 'X')))
cfg->etag = xhtml_etag;
else