On Wed, Nov 4, 2015 at 4:03 PM, Woonsan Ko <
w....@onehippo.com> wrote:
> Hi Martijn,
>
> I'd like to recommend you always try to use form parameters in POST method
> with hst:actionURL.
It is not only a recommendation any more in CMS 10. In the upgrade
documentation we have:
*************************************************************************************
ActionURL in HTML FORM must have method post
This is a result of HSTTWO-1831 : actionURL is hard for infra to
support in combination with https filter and proxies. Also see Forms
and the HST ActionURL. Although an actionURL in a HTML form should
have hadmethod="post" even for pre CMS 10.0 versions since an
actionURL is not idempotent, it still used to work withmethod="get".
This is not allowed any more with CMS 10.0 and higher : An actionURL
in a HTML form must be of shape:
In a JSP template:
<hst:actionURL var="actionLink" />
<form action="${actionLink}" method="post">
<!-- form fields here -->
</form>
In a Freemarker template:
<@hst.actionURL var="actionLink"/>
<form action="${actionLink}" method="post">
<!-- form fields here -->
</form>
In html form with actionURL, method must be "post" (or "POST"). "get"
is not allowed
*************************************************************************************
Also see the public documentation at [1] where it is written that it
must be a post
HTH,
Regards Ard
[1]
http://www.onehippo.org/library/concepts/component-development/hst-2-forms.html
Hippo Netherlands, Oosteinde 11, 1017 WT Amsterdam, Netherlands
Hippo USA, Inc.- 745 Atlantic Ave, Eight Floor, Boston MA 02111,
United states of America.
www.onehippo.com