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

(-)server/core.c (+2 lines)
Lines 1759-1764 Link Here
1759
        }
1759
        }
1760
    }
1760
    }
1761
    else if (thiscmd->cmd_data) { /* <DirectoryMatch> */
1761
    else if (thiscmd->cmd_data) { /* <DirectoryMatch> */
1762
        if (cmd->path[strlen(cmd->path) - 1] != '/')
1763
            cmd->path = apr_pstrcat(cmd->pool, cmd->path, "/", NULL);
1762
        r = ap_pregcomp(cmd->pool, cmd->path, AP_REG_EXTENDED|USE_ICASE);
1764
        r = ap_pregcomp(cmd->pool, cmd->path, AP_REG_EXTENDED|USE_ICASE);
1763
        if (!r) {
1765
        if (!r) {
1764
            return "Regex could not be compiled";
1766
            return "Regex could not be compiled";

Return to bug 41867