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

(-)native/iis/jk_isapi_plugin.c (-2 / +12 lines)
Lines 844-853 Link Here
844
844
845
static int uri_is_web_inf(const char *uri)
845
static int uri_is_web_inf(const char *uri)
846
{
846
{
847
    if (stristr(uri, "/web-inf")) {
847
    char *webinf;
848
    char *metainf;
849
850
    webinf = stristr(uri, "/web-inf");
851
852
    if (webinf && (8 == strlen(webinf)
853
                  || '/' == *(webinf + 8)))
848
        return JK_TRUE;
854
        return JK_TRUE;
849
    }
855
    }
850
    if (stristr(uri, "/meta-inf")) {
856
857
    metainf = stristr(uri, "/meta-inf");
858
859
    if (metainf && (9 == strlen(metainf)
860
                  || '/' == *(metainf + 9))) {
851
        return JK_TRUE;
861
        return JK_TRUE;
852
    }
862
    }
853
863

Return to bug 51769