|
Lines 191-196
Link Here
|
| 191 |
conf->max_reversals = AP_MAXRANGES_UNSET; |
191 |
conf->max_reversals = AP_MAXRANGES_UNSET; |
| 192 |
|
192 |
|
| 193 |
conf->cgi_pass_auth = AP_CGI_PASS_AUTH_UNSET; |
193 |
conf->cgi_pass_auth = AP_CGI_PASS_AUTH_UNSET; |
|
|
194 |
conf->qualify_redirect_url = AP_CORE_CONFIG_UNSET; |
| 194 |
|
195 |
|
| 195 |
return (void *)conf; |
196 |
return (void *)conf; |
| 196 |
} |
197 |
} |
|
Lines 405-410
Link Here
|
| 405 |
|
406 |
|
| 406 |
conf->cgi_pass_auth = new->cgi_pass_auth != AP_CGI_PASS_AUTH_UNSET ? new->cgi_pass_auth : base->cgi_pass_auth; |
407 |
conf->cgi_pass_auth = new->cgi_pass_auth != AP_CGI_PASS_AUTH_UNSET ? new->cgi_pass_auth : base->cgi_pass_auth; |
| 407 |
|
408 |
|
|
|
409 |
AP_CORE_MERGE_FLAG(qualify_redirect_url, conf, base, new); |
| 410 |
|
| 408 |
return (void*)conf; |
411 |
return (void*)conf; |
| 409 |
} |
412 |
} |
| 410 |
|
413 |
|
|
Lines 1707-1712
Link Here
|
| 1707 |
return NULL; |
1710 |
return NULL; |
| 1708 |
} |
1711 |
} |
| 1709 |
|
1712 |
|
|
|
1713 |
static const char *set_qualify_redirect_url(cmd_parms *cmd, void *d_, int flag) |
| 1714 |
{ |
| 1715 |
core_dir_config *d = d_; |
| 1716 |
|
| 1717 |
d->qualify_redirect_url = flag ? AP_CORE_CONFIG_ON : AP_CORE_CONFIG_OFF; |
| 1718 |
|
| 1719 |
return NULL; |
| 1720 |
} |
| 1721 |
|
| 1710 |
static const char *set_override_list(cmd_parms *cmd, void *d_, int argc, char *const argv[]) |
1722 |
static const char *set_override_list(cmd_parms *cmd, void *d_, int argc, char *const argv[]) |
| 1711 |
{ |
1723 |
{ |
| 1712 |
core_dir_config *d = d_; |
1724 |
core_dir_config *d = d_; |
|
Lines 4206-4211
Link Here
|
| 4206 |
AP_INIT_FLAG("CGIPassAuth", set_cgi_pass_auth, NULL, OR_AUTHCFG, |
4218 |
AP_INIT_FLAG("CGIPassAuth", set_cgi_pass_auth, NULL, OR_AUTHCFG, |
| 4207 |
"Controls whether HTTP authorization headers, normally hidden, will " |
4219 |
"Controls whether HTTP authorization headers, normally hidden, will " |
| 4208 |
"be passed to scripts"), |
4220 |
"be passed to scripts"), |
|
|
4221 |
AP_INIT_FLAG("QualifyRedirectURL", set_qualify_redirect_url, NULL, OR_FILEINFO, |
| 4222 |
"Controls whether HTTP authorization headers, normally hidden, will " |
| 4223 |
"be passed to scripts"), |
| 4224 |
|
| 4209 |
AP_INIT_TAKE1("ForceType", ap_set_string_slot_lower, |
4225 |
AP_INIT_TAKE1("ForceType", ap_set_string_slot_lower, |
| 4210 |
(void *)APR_OFFSETOF(core_dir_config, mime_type), OR_FILEINFO, |
4226 |
(void *)APR_OFFSETOF(core_dir_config, mime_type), OR_FILEINFO, |
| 4211 |
"a mime type that overrides other configured type"), |
4227 |
"a mime type that overrides other configured type"), |