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 2007/12/05 19:06:00 UTC

DO NOT REPLY [Bug 42750] - Http Post requests not handled correctly if there is more than one space between the "POST" and the URL

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42750>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42750





------- Additional Comments From d.webb@dsl.pipex.com  2007-12-05 10:05 -------
>According to the HTTP spec there is one space character between the method and
>the URL - i.e. your request is invalid HTTP.
>http://tools.ietf.org/html/rfc1945#page-23

>This ticket should probably be marked INVALID, but the error response doesn't
>look appropriate - the response should probably be a 400 Bad Request.

It is true that in the RFC the Request line is made up of single spaced
elements, but if you look at appendix b
(http://tools.ietf.org/html/rfc1945#page-55) it says 
"   Clients should be tolerant in parsing the Status-Line and servers
   tolerant when parsing the Request-Line. In particular, they should
   accept any amount of SP or HT characters between fields, even though
   only a single SP is required.
"

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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