View | Details | Raw Unified | Return to bug 64066
Collapse All | Expand All

(-)server/config.c (-2 / +7 lines)
Lines 1122-1127 Link Here
1122
    ap_directive_t *newdir;
1122
    ap_directive_t *newdir;
1123
    module *mod = ap_top_module;
1123
    module *mod = ap_top_module;
1124
    const command_rec *cmd;
1124
    const command_rec *cmd;
1125
    ap_mod_list *ml;
1126
    char *lname;
1125
1127
1126
    if (*l == '#' || *l == '\0')
1128
    if (*l == '#' || *l == '\0')
1127
        return NULL;
1129
        return NULL;
Lines 1159-1167 Link Here
1159
    newdir->line_num = parms->config_file->line_number;
1161
    newdir->line_num = parms->config_file->line_number;
1160
    newdir->args = apr_pstrdup(p, args);
1162
    newdir->args = apr_pstrdup(p, args);
1161
1163
1162
    if ((cmd = ap_find_command_in_modules(cmd_name, &mod)) != NULL) {
1164
    lname = apr_pstrdup(temp_pool, cmd_name);
1165
    ap_str_tolower(lname);
1166
    ml = apr_hash_get(ap_config_hash, lname, APR_HASH_KEY_STRING);
1167
1168
    if (ml && (cmd = ml->cmd) != NULL) {
1163
        newdir->directive = cmd->name;
1169
        newdir->directive = cmd->name;
1164
        
1165
        if (cmd->req_override & EXEC_ON_READ) {
1170
        if (cmd->req_override & EXEC_ON_READ) {
1166
            ap_directive_t *sub_tree = NULL;
1171
            ap_directive_t *sub_tree = NULL;
1167
1172

Return to bug 64066