Lines 831-841
Link Here
|
831 |
const char *extension, |
831 |
const char *extension, |
832 |
const char *virtual) |
832 |
const char *virtual) |
833 |
{ |
833 |
{ |
834 |
const char *path, *tmp; |
834 |
const char *path; |
835 |
apr_status_t rv; |
835 |
apr_status_t rv; |
836 |
apr_finfo_t finfo; |
836 |
apr_finfo_t finfo; |
837 |
fcgid_cmd_conf *wrapper = NULL; |
837 |
fcgid_cmd_conf *wrapper = NULL; |
838 |
fcgid_dir_conf *config = (fcgid_dir_conf *) dirconfig; |
838 |
fcgid_dir_conf *config = (fcgid_dir_conf *) dirconfig; |
|
|
839 |
char **args; |
839 |
|
840 |
|
840 |
/* Sanity checks */ |
841 |
/* Sanity checks */ |
841 |
|
842 |
|
Lines 854-861
Link Here
|
854 |
return "Invalid wrapper file extension"; |
855 |
return "Invalid wrapper file extension"; |
855 |
|
856 |
|
856 |
/* Get wrapper path */ |
857 |
/* Get wrapper path */ |
857 |
tmp = wrapper_cmdline; |
858 |
apr_tokenize_to_argv(wrapper_cmdline, &args, cmd->temp_pool); |
858 |
path = ap_getword_white(cmd->temp_pool, &tmp); |
859 |
path = apr_pstrdup(cmd->pool, args[0]); |
|
|
860 |
|
859 |
if (path == NULL || *path == '\0') |
861 |
if (path == NULL || *path == '\0') |
860 |
return "Invalid wrapper config"; |
862 |
return "Invalid wrapper config"; |
861 |
|
863 |
|