tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51147] Deploy from Manager fail in 403
Date Wed, 04 May 2011 12:29:17 GMT

--- Comment #6 from Konstantin Kolinko <> 2011-05-04 12:29:17
UTC ---
(In reply to comment #5)
> The problem is that when a form is use with GET and the action URL contains
> request parameters user agents may (FF4 does) overwrite the parameters already
> in the URL with those in the form rather than combine them. Switching to POST
> avoids this issue.

That is how form submission is defined in HTML5.

4.10.22 Form submission [1]
-> Form submission algorithm
-> Table in Step 17
-> "http" + GET method  gives "Mutate action URL"
-> Mutate action URL is 
"Let destination be a new URL that is equal to the action except that its
<query> component is replaced by query (adding a U+003F QUESTION MARK character
(?) if appropriate)."


So it is a natural limitation on the use of CsrfPreventionFilter in such forms.
But I am OK with the change to the form, because I do not see a reason to use
GET method here. The action is not repeatable, nor it is bookmarkable, because
of the nonce.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message