Re: Forms require that the request method be POST and that the t:formdata query parameter have values.

2016-01-19 Thread Bob Harner
I added this solution to the FAQ: https://tapestry.apache.org/specific-errors-faq.html If anyone has a better solution (until TAP5-1733 is fixed), please share... On Jan 18, 2016 5:44 PM, "Bob Harner" wrote: > This probably deserves to be added to Tapestry's FAQ page. It's quite > common with T

Re: Forms require that the request method be POST and that the t:formdata query parameter have values.

2016-01-18 Thread Bob Harner
This probably deserves to be added to Tapestry's FAQ page. It's quite common with Tapestry apps. If your app is on a publicly site then it is a common result of bots crawling your site and submitting any forms that they finds. If it isn't on a public site then it may be a browser (e.g. certain ver

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
On Fri, Feb 20, 2015 at 11:47 AM, Charles Karow wrote: > We got a lot of these a few months ago, and in every case they were from > the then-current version of Chrome: > > Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/39.0.2171.71 Safari/537.36 > > At the tim

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread Charles Karow
We got a lot of these a few months ago, and in every case they were from the then-current version of Chrome: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 At the time I interviewed a few of the users, who were using the auto-fill

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
Digging deeper, looking at the form src. I'm seeing the following ex String[] values = request.getParameters(FORM_DATA); if (!request.getMethod().equals("POST") || values == null) throw new RuntimeException(messages.format("core-invalid-form-request", FORM_DATA)); Is there any way to know which

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
I also found this article related to android. Again I'm not very familiar with this stuff, so please forgive me if it's unrelated. http://stackoverflow.com/questions/8587913/what-exactly-does-urlconnection-setdooutput-affect On Fri, Feb 20, 2015 at 11:04 AM, George Christman wrote: > Some furth

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
Some further research has turned up this http://stackoverflow.com/questions/8187188/android-4-0-ics-turning-httpurlconnection-get-requests-into-post-requests I also posted the following question on SO http://stackoverflow.com/questions/28632632/browser-turning-a-post-request-into-a-get?noredirect

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
On Fri, Feb 20, 2015 at 9:31 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 20 Feb 2015 12:15:55 -0200, George Christman < > gchrist...@cardaddy.com> wrote: > > So the question is how is the user able to force the browser to load that >> url in the address bar, "I assumin

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread Thiago H de Paula Figueiredo
On Fri, 20 Feb 2015 12:15:55 -0200, George Christman wrote: So the question is how is the user able to force the browser to load that url in the address bar, "I assuming its being loaded in the address bar"? Is there a bug in the form component or could the user have some sort of browser sett

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2014-09-08 Thread Lance Java
Most likely a bot crawling your site. You may choose to suppress this logging for crawlers. This can be done by maintaining a list of crawler user agents and checking the user agent request header before logging.

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2014-09-08 Thread Dmitry Gusev
Hi, That could be an autocomplete feature of browser's address bar -- which autocompletes form's submission URL. Or it could be that user submits a form and it takes too long to process it, and during that time user clicks to browser's address bar and hits Enter (which issues HTTP GET request).

Re: Forms require that the request method be POST

2014-06-25 Thread Dmitry Gusev
That depends on if the page containing the form and/or form handlers @RequiresAuthentication or @RequiresUser. On Wed, Jun 25, 2014 at 10:49 PM, George Christman wrote: > Okay cool, that works too. Now if I'm setting remember me to true, should I > still be seeing this exception? > > > On Wed,

Re: Forms require that the request method be POST

2014-06-25 Thread George Christman
Okay cool, that works too. Now if I'm setting remember me to true, should I still be seeing this exception? On Wed, Jun 25, 2014 at 2:44 PM, Dmitry Gusev wrote: > It won't continue form submission, user will be redirected to the page with > empty form. > > > On Wed, Jun 25, 2014 at 10:31 PM, Ge

Re: Forms require that the request method be POST

2014-06-25 Thread Dmitry Gusev
It won't continue form submission, user will be redirected to the page with empty form. On Wed, Jun 25, 2014 at 10:31 PM, George Christman wrote: > Thanks Dmitry, I'm willing to give it a shot. What outcome should I expect > to see from your code? Will it just bring the user back to a blank for

Re: Forms require that the request method be POST

2014-06-25 Thread George Christman
Thanks Dmitry, I'm willing to give it a shot. What outcome should I expect to see from your code? Will it just bring the user back to a blank form, or will it continue with the form submission? On Wed, Jun 25, 2014 at 1:56 PM, Dmitry Gusev wrote: > Hi George, > > See one possible solution here:

Re: Forms require that the request method be POST

2014-06-25 Thread Dmitry Gusev
Hi George, See one possible solution here: https://github.com/tynamo/tapestry-security/issues/7#issuecomment-40301795 On Wed, Jun 25, 2014 at 7:36 PM, George Christman wrote: > So I finally figured out how to reproduce this exception. I'm using > Tapestry-Security and if the session times out

Re: Forms require that the request method be POST

2014-06-25 Thread George Christman
So I finally figured out how to reproduce this exception. I'm using Tapestry-Security and if the session times out and the user submits the form, the page is redirected to the login page. When the user logs in, it attempts to resubmit the form and ends with this exception. Does anybody know how to

Re: Forms require that the request method be POST

2014-05-19 Thread George Christman
Thanks for the tips guys, I'll see if I can find the culprit now that I know why it's happening. On Mon, May 19, 2014 at 5:52 PM, Eugen wrote: > Hi, I have had this kind of exception then i tried to submit a form > programmatically from an Applet (HttpClient) without sending the > formData fiel

Re: Forms require that the request method be POST

2014-05-19 Thread Eugen
Hi, I have had this kind of exception then i tried to submit a form programmatically from an Applet (HttpClient) without sending the formData field. 2014-05-19 22:31 GMT+02:00 Kristian Marinkovic : > Hi, > > check if it is the same client. i once had the same problem. After several > hours of inve

Re: Forms require that the request method be POST

2014-05-19 Thread Kristian Marinkovic
Hi, check if it is the same client. i once had the same problem. After several hours of investigation it was a developer with a browser plugin (web developer) which enabled converting form post requests to get requests. hope this helps. g, Kris On Mon, May 19, 2014 at 5:55 PM, George Christman

Re: Forms require that the request method be POST

2014-05-19 Thread George Christman
Let me do some more homework now that I at least now how it's thrown. Thanks Thiago. On Mon, May 19, 2014 at 10:54 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 19 May 2014 11:44:06 -0300, George Christman < > gchrist...@cardaddy.com> wrote: > > In this particular case

Re: Forms require that the request method be POST

2014-05-19 Thread Thiago H de Paula Figueiredo
On Mon, 19 May 2014 11:44:06 -0300, George Christman wrote: In this particular case the application sits behind a firewall with no public access so I don't believe this is bot activity. Do you have any other thoughts? Do you have any information on when this exception actually happens? O

Re: Forms require that the request method be POST

2014-05-19 Thread George Christman
In this particular case the application sits behind a firewall with no public access so I don't believe this is bot activity. Do you have any other thoughts? On May 19, 2014 10:00 AM, "Thiago H de Paula Figueiredo" wrote: > On Mon, 19 May 2014 09:37:44 -0300, George Christman < > gchrist...@card

Re: Forms require that the request method be POST

2014-05-19 Thread Thiago H de Paula Figueiredo
On Mon, 19 May 2014 09:37:44 -0300, George Christman wrote: Hi Everyone, I'm using 5.4 and I've continued to randomly see this exception popup in multiple applications. I'm wondering what it means and how to fix it. Thanks. Very probably bots crawling your site. -- Thiago H. de Paula Figue

Re: Forms require that the request method be POST and that the t:formdata query parameter have values.

2013-12-02 Thread Michael Gagauz
I'm sure there are GET requests from search bots. Make sure you exclude action/event links and form actions in robots.txt (like Disallow: /*?t:ac=*, Disallow: */pagename.component:action* 02.12.2013 17:41, Ben Titmarsh пишет: Hi Guys, I'm getting quite a lot of these exceptions in my logs.

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2012-12-08 Thread Geoff Callender
See http://tapestry.1045711.n5.nabble.com/Safari-for-example-browser-history-and-form-exception-td4942074.html On 08/12/2012, at 10:09 PM, Muhammad Gelbana wrote: > I think this error occurs when you visit a similar url (through a GET > request, just by putting the following address in the bro

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2012-12-08 Thread Muhammad Gelbana
I think this error occurs when you visit a similar url (through a GET request, just by putting the following address in the browser's address bar and hitting enter): http://localhost/pagename.formid This url is the "action" attribute value for the form element. It should be using within an http P

Re: Forms require that the request method be POST....

2012-03-21 Thread David Canteros
Ok, I will try it in my code. Thanks Lenny! -- David Germán Canteros 2012/3/20 Lenny Primak > I am the author of that fix and it definitely works correctly. > It strips out the form from the request and redirects it to the page tha

Re: Forms require that the request method be POST....

2012-03-20 Thread Lenny Primak
I am the author of that fix and it definitely works correctly. It strips out the form from the request and redirects it to the page that the client was actually looking for. On Mar 20, 2012, at 9:04 AM, David Canteros wrote: > Hi guys! > Lately I detected a lot of this exception in the logs of my

Re: Forms require that the request method be POST....

2012-03-20 Thread David Canteros
I forgot to say that I'm using tapestry 5.3.2 running on tomcat 6, and the exceptions happens which users who use Firefox 3... -- David Germán Canteros 2012/3/20 David Canteros > Hi guys! > Lately I detected a lot of this excepti