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

(-)test/org/apache/catalina/valves/TestRemoteIpValve.java (-3 / +3 lines)
Lines 694-700 public class TestRemoteIpValve { Link Here
694
    }
694
    }
695
695
696
    @Test
696
    @Test
697
    public void testInvokeXforwardedProtoSaysMultipleForwardsWithLastBeingHttpForIncomingHttpsRequest() throws Exception {
697
    public void testInvokeXforwardedProtoSaysMultipleForwardsWithLastBeingHttpForIncomingHttpRequest() throws Exception {
698
        performXForwardedProtoWithMultipleForwardsTest("https,http", false, false);
698
        performXForwardedProtoWithMultipleForwardsTest("https,http", false, false);
699
    }
699
    }
700
700
Lines 704-715 public class TestRemoteIpValve { Link Here
704
    }
704
    }
705
705
706
    @Test
706
    @Test
707
    public void testInvokeXforwardedProtoSaysMultipleHttpForwardsForIncomingHttpsRequest() throws Exception {
707
    public void testInvokeXforwardedProtoSaysMultipleHttpForwardsForIncomingHttpRequest() throws Exception {
708
        performXForwardedProtoWithMultipleForwardsTest("http,http", false, false);
708
        performXForwardedProtoWithMultipleForwardsTest("http,http", false, false);
709
    }
709
    }
710
710
711
    @Test
711
    @Test
712
    public void testInvokeXforwardedProtoSaysInvalidValueForIncomingHttpsRequest() throws Exception {
712
    public void testInvokeXforwardedProtoSaysInvalidValueForIncomingHttpRequest() throws Exception {
713
        performXForwardedProtoWithMultipleForwardsTest(",", false, false);
713
        performXForwardedProtoWithMultipleForwardsTest(",", false, false);
714
    }
714
    }
715
715

Return to bug 62978