ASF Bugzilla – Attachment 29521 Details for
Bug 51657
Support quoted or escaped values containing space character for FcgidCmdOptions InitialEnv
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Respect quotes (and quoted quotes) in FcgidCmdOptions directive
fcgid-options-quoting.patch (text/plain), 2.83 KB, created by
William A. Rowe Jr.
on 2012-10-29 20:05:36 UTC
(
hide
)
Description:
Respect quotes (and quoted quotes) in FcgidCmdOptions directive
Filename:
MIME Type:
Creator:
William A. Rowe Jr.
Created:
2012-10-29 20:05:36 UTC
Size:
2.83 KB
patch
obsolete
>Index: modules/fcgid/fcgid_conf.c >=================================================================== >--- modules/fcgid/fcgid_conf.c (revision 7342) >+++ modules/fcgid/fcgid_conf.c (working copy) >@@ -994,14 +994,14 @@ > } > > while (*args) { >- const char *option = ap_getword_white(cmd->pool, &args); >+ const char *option = ap_getword_conf(cmd->pool, &args); > const char *val; > > /* TODO: Consider supporting BusyTimeout. > */ > > if (!strcasecmp(option, "ConnectTimeout")) { >- val = ap_getword_white(cmd->pool, &args); >+ val = ap_getword_conf(cmd->pool, &args); > if (!strlen(val)) { > return "ConnectTimeout must have an argument"; > } >@@ -1010,7 +1010,7 @@ > } > > if (!strcasecmp(option, "IdleTimeout")) { >- val = ap_getword_white(cmd->pool, &args); >+ val = ap_getword_conf(cmd->pool, &args); > if (!strlen(val)) { > return "IdleTimeout must have an argument"; > } >@@ -1022,7 +1022,7 @@ > char *name; > char *eql; > >- name = ap_getword_white(cmd->pool, &args); >+ name = ap_getword_conf(cmd->pool, &args); > if (!strlen(name)) { > return "InitialEnv must have an argument"; > } >@@ -1041,7 +1041,7 @@ > } > > if (!strcasecmp(option, "IOTimeout")) { >- val = ap_getword_white(cmd->pool, &args); >+ val = ap_getword_conf(cmd->pool, &args); > if (!strlen(val)) { > return "IOTimeout must have an argument"; > } >@@ -1050,7 +1050,7 @@ > } > > if (!strcasecmp(option, "MaxProcesses")) { >- val = ap_getword_white(cmd->pool, &args); >+ val = ap_getword_conf(cmd->pool, &args); > if (!strlen(val)) { > return "MaxProcesses must have an argument"; > } >@@ -1059,7 +1059,7 @@ > } > > if (!strcasecmp(option, "MaxProcessLifetime")) { >- val = ap_getword_white(cmd->pool, &args); >+ val = ap_getword_conf(cmd->pool, &args); > if (!strlen(val)) { > return "MaxProcessLifetime must have an argument"; > } >@@ -1068,7 +1068,7 @@ > } > > if (!strcasecmp(option, "MaxRequestsPerProcess")) { >- val = ap_getword_white(cmd->pool, &args); >+ val = ap_getword_conf(cmd->pool, &args); > if (!strlen(val)) { > return "MaxRequestsPerProcess must have an argument"; > } >@@ -1077,7 +1077,7 @@ > } > > if (!strcasecmp(option, "MinProcesses")) { >- val = ap_getword_white(cmd->pool, &args); >+ val = ap_getword_conf(cmd->pool, &args); > if (!strlen(val)) { > return "MinProcesses must have an argument"; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51657
: 29521