You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/10/23 18:21:40 UTC

[Bug 55695] New: Tomcat is missing parameters from request

https://issues.apache.org/bugzilla/show_bug.cgi?id=55695

            Bug ID: 55695
           Summary: Tomcat is missing parameters from request
           Product: Tomcat 7
           Version: 7.0.42
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: johnny90b@mail.ru

Created attachment 30958
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30958&action=edit
tomcat request parsing bug

Hello.

>From time to time we see that Tomcat can't properly parse parameters from
request. That's kind of a big annoying bug, cause we can't find any essential
reason for such bug to appear.
I have a screen for proovements.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55695] Tomcat is missing parameters from request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55695

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
There is nothing in the bug report that suggests a Tomcat bug. You have an
error message that is not Tomcat-related ("required String parameter 'code' is
not present"). Spring is a part of your application, not Tomcat. So yes, this
is an application problem.

Spring or any other component in your web application can, in fact, modify the
request (at least from the perspective of the code running in your web
application). Just because you can see the parameter "code" in your URL and
your application is saying that "code" is not in the request doesn't mean that
Tomcat is doing something wrong. Perhaps your application (or Spring?) is not
reading the value properly. Perhaps the value is not properly-formatted (e.g.
it looks like it could be encrypted, but maybe it's broken) and the error
message is not good (i.e. problem is value-format not value-missing).

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55695] Tomcat is missing parameters from request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55695

--- Comment #2 from Eugene <jo...@mail.ru> ---
Do you really think that it could be a bug in application?

I don't think so. We are using Spring framework, but the bug appears in spring
controllers and in tipycal servlets..

Correct me pls, if I'm not right, but, for example,  when the client send
GET-request to the server, the application receives the HttpServletRequest,
parsed first of all by tomcat engine (i don't really know how it's doing it),
and then only, in case of spring controller there could be later changes in
HttpServletRequest. I suppose that spring can do nothing that is able to clear
some parameters that are present in request object.

The most strange fact about that story is that after refreshing the page (read
- sending the request again) nothing bad happens. The request proceeds
correctly.

There is no any logic in application connected with filling ServletRequest
object's parameters by parsing the request.
Also, we didn't define any special settings for tomcat, which can influence on
how it processes the request.

It's a pity, if it's really the bug in application, cause we don't have any
idea about where it could come from and when :(

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55695] Tomcat is missing parameters from request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55695

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
That is an application generated error message (even if it is using Tomcat's
default 400 response page).

The the error is application generate suggests that the bug is an application
bug too,=.

Absent any evidence that this is a Tomcat bug, I am closing this as invalid.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org