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

(-)java/org/apache/catalina/servlets/WebdavServlet.java (-2 / +6 lines)
Lines 1441-1448 Link Here
1441
            boolean tokenMatch = false;
1441
            boolean tokenMatch = false;
1442
            while (tokenList.hasMoreElements()) {
1442
            while (tokenList.hasMoreElements()) {
1443
                String token = tokenList.nextElement();
1443
                String token = tokenList.nextElement();
1444
                if (ifHeader.indexOf(token) != -1)
1444
                if (ifHeader.indexOf(token) != -1) {
1445
                    tokenMatch = true;
1445
                    tokenMatch = true;
1446
                    break;
1447
                }
1446
            }
1448
            }
1447
            if (!tokenMatch)
1449
            if (!tokenMatch)
1448
                return true;
1450
                return true;
Lines 1462-1469 Link Here
1462
                boolean tokenMatch = false;
1464
                boolean tokenMatch = false;
1463
                while (tokenList.hasMoreElements()) {
1465
                while (tokenList.hasMoreElements()) {
1464
                    String token = tokenList.nextElement();
1466
                    String token = tokenList.nextElement();
1465
                    if (ifHeader.indexOf(token) != -1)
1467
                    if (ifHeader.indexOf(token) != -1) {
1466
                        tokenMatch = true;
1468
                        tokenMatch = true;
1469
                        break;
1470
                    }
1467
                }
1471
                }
1468
                if (!tokenMatch)
1472
                if (!tokenMatch)
1469
                    return true;
1473
                    return true;

Return to bug 55109