Commit 1b83205d authored by Doug MacEachern's avatar Doug MacEachern
Browse files

use ap_strcmp_match and fix pattern typo


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87618 13f79535-47bb-0310-9956-ffa450edef68
parent 71936dd3
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -422,7 +422,10 @@ static int file_cache_handler(request_rec *r)
    int errstatus;
    int errstatus;
    int rc = OK;
    int rc = OK;


    if (strcmp(r->handler, "*.*")) {
    /* XXX: not sure if this is right yet
     * see comment in http_core.c:default_handler
     */
    if (ap_strcmp_match(r->handler, "*/*")) {
        return DECLINED;
        return DECLINED;
    }
    }