Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2FF69999 for ; Sun, 10 Mar 2013 19:23:12 +0000 (UTC) Received: (qmail 61749 invoked by uid 500); 10 Mar 2013 19:23:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 61677 invoked by uid 500); 10 Mar 2013 19:23:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 61668 invoked by uid 99); 10 Mar 2013 19:23:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Mar 2013 19:23:12 +0000 Date: Sun, 10 Mar 2013 19:23:12 +0000 (UTC) From: "Simone Tripodi (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FILEUPLOAD-228) (Servlet|Portlet)RequestContext#contentLength() must return request.getContentLength() if Content-length header is not available MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FILEUPLOAD-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simone Tripodi updated FILEUPLOAD-228: -------------------------------------- Description: As per subject, {{(Servlet|Portlet)RequestContext#contentLength()}} must return {{request.getContentLength()}} if _Content-length_ header is not available in request; actually it returns {{-1}} (was: As per subject, {{(Servlet|Portlet)RequestContext#}} must return {{request.getContentLength()}} if _Content-length_ header is not available in request; actually it returns {{-1}}) > (Servlet|Portlet)RequestContext#contentLength() must return request.getContentLength() if Content-length header is not available > -------------------------------------------------------------------------------------------------------------------------------- > > Key: FILEUPLOAD-228 > URL: https://issues.apache.org/jira/browse/FILEUPLOAD-228 > Project: Commons FileUpload > Issue Type: Bug > Reporter: Simone Tripodi > Assignee: Simone Tripodi > Priority: Blocker > > As per subject, {{(Servlet|Portlet)RequestContext#contentLength()}} must return {{request.getContentLength()}} if _Content-length_ header is not available in request; actually it returns {{-1}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira