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

(-)modules/ftp/ftp_commands.c (-1 / +1 lines)
Lines 755-761 Link Here
755
755
756
    ap_destroy_sub_req(rr);
756
    ap_destroy_sub_req(rr);
757
757
758
    if (arg[0] == '\0') {
758
    if (arg[0] == '\0' || !strcmp(arg, "/") || !strcmp(arg, "..") || !strcmp(arg, ".")) {
759
        pattern = apr_pstrcat(r->pool, r->filename, "/*", NULL);
759
        pattern = apr_pstrcat(r->pool, r->filename, "/*", NULL);
760
    }
760
    }
761
    else {
761
    else {

Return to bug 52043