From commits-return-17694-archive-asf-public=cust-asf.ponee.io@struts.apache.org Tue Jan 16 08:30:59 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 6A6A118066D for ; Tue, 16 Jan 2018 08:30:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5AE05160C26; Tue, 16 Jan 2018 07:30:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A9964160C34 for ; Tue, 16 Jan 2018 08:30:58 +0100 (CET) Received: (qmail 20789 invoked by uid 500); 16 Jan 2018 07:30:57 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 20762 invoked by uid 99); 16 Jan 2018 07:30:57 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jan 2018 07:30:57 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 1831581B36; Tue, 16 Jan 2018 07:30:56 +0000 (UTC) Date: Tue, 16 Jan 2018 07:30:56 +0000 To: "commits@struts.apache.org" Subject: [struts-site] branch asf-site updated: Updates production by Jenkins MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <151608785604.9635.7638020589852151104@gitbox.apache.org> From: git-site-role@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: struts-site X-Git-Refname: refs/heads/asf-site X-Git-Reftype: branch X-Git-Oldrev: 49460938d568257b1feb370c3a2351d6adb7b26f X-Git-Newrev: a077e76d23dbf995710cfdf44a00bb0c5b07c3b3 X-Git-Rev: a077e76d23dbf995710cfdf44a00bb0c5b07c3b3 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-site by this push: new a077e76 Updates production by Jenkins a077e76 is described below commit a077e76d23dbf995710cfdf44a00bb0c5b07c3b3 Author: jenkins AuthorDate: Tue Jan 16 07:30:54 2018 +0000 Updates production by Jenkins --- content/core-developers/type-conversion.html | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/content/core-developers/type-conversion.html b/content/core-developers/type-conversion.html index 250a0bc..151677a 100644 --- a/content/core-developers/type-conversion.html +++ b/content/core-developers/type-conversion.html @@ -144,6 +144,7 @@
  • Collection and Map Support
  • Type Conversion Error Handling
  • @@ -283,7 +284,7 @@ conversion to and from strings. So turning “3, 22” in to new Point(3, 22) is entry to ClassName-conversion.properties (Note that the PointConverter should impl the TypeConverter interface):

    -
    point = com.acme.PointConverter</b></p>
    +
    point = com.acme.PointConverter
     
    @@ -521,6 +522,22 @@ CreateIfNull_beanList=true </s:iterator>
    +

    Auto growth collection limit

    + +

    There is a special constant that limits auto growth of a collection, by default it is set to 255 which means +only 256 elements are allowed in the collection. This limitation was introduced to avoid DoS attacks. +If you know that the collection can have more elements you must define the below constant and set its value +to desire size of the collection.

    + +
    <constant name="struts.ognl.autoGrowthCollectionLimit" value="1024"/>
    +
    +
    + +
    +

    NOTE: before this constant was named as xwork.autoGrowCollectionLimit but it is deprecated now and will be removed +with a next major release.

    +
    +

    Type Conversion Error Handling

    Type conversion error handling provides a simple way to distinguish between an input validation problem -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].