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

(-)server/protocol.c (-2 / +4 lines)
Lines 518-526 Link Here
518
            r->hostname = r->parsed_uri.hostname;
518
            r->hostname = r->parsed_uri.hostname;
519
        }
519
        }
520
520
521
        if (r->parsed_uri.path == NULL)
522
            r->parsed_uri.path = apr_pstrdup(r->pool, "/");
523
521
        r->args = r->parsed_uri.query;
524
        r->args = r->parsed_uri.query;
522
        r->uri = r->parsed_uri.path ? r->parsed_uri.path
525
        r->uri = r->parsed_uri.path;
523
                 : apr_pstrdup(r->pool, "/");
524
526
525
#if defined(OS2) || defined(WIN32)
527
#if defined(OS2) || defined(WIN32)
526
        /* Handle path translations for OS/2 and plug security hole.
528
        /* Handle path translations for OS/2 and plug security hole.

Return to bug 39259