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

(-)java/org/apache/catalina/authenticator/FormAuthenticator.java (-2 / +6 lines)
Lines 246-253 Link Here
246
            return (false);
246
            return (false);
247
        }
247
        }
248
248
249
        // Yes -- Validate the specified credentials and redirect
249
        // Yes -- Acknowledge the request, validate the specified credentials
250
        // to the error page if they are not correct
250
        // and redirect to the error page if they are not correct
251
        response.sendAcknowledgement();
251
        Realm realm = context.getRealm();
252
        Realm realm = context.getRealm();
252
        if (characterEncoding != null) {
253
        if (characterEncoding != null) {
253
            request.setCharacterEncoding(characterEncoding);
254
            request.setCharacterEncoding(characterEncoding);
Lines 511-516 Link Here
511
        }
512
        }
512
513
513
        if ("POST".equalsIgnoreCase(request.getMethod())) {
514
        if ("POST".equalsIgnoreCase(request.getMethod())) {
515
            // May need to acknowledge a 100-continue expectation
516
            request.getResponse().sendAcknowledgement();
517
514
            ByteChunk body = new ByteChunk();
518
            ByteChunk body = new ByteChunk();
515
            body.setLimit(request.getConnector().getMaxSavePostSize());
519
            body.setLimit(request.getConnector().getMaxSavePostSize());
516
520

Return to bug 50689