Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 260 in cherokee: cherokee could accept empty POST

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Dec 3, 2008, 10:28 AM

Post #1 of 6 (662 views)
Permalink
Issue 260 in cherokee: cherokee could accept empty POST

Status: New
Owner: ----

New issue 260 by johnnyopposite: cherokee could accept empty POST
http://code.google.com/p/cherokee/issues/detail?id=260

What steps will reproduce the problem?
1. POST with no key/value pairs

What is the expected output? What do you see instead?
expected output: whatever the target script does
see instead: HTTP Error 411: Content-Length required (but Content-Length
looks set)

I'm not sure if this is completely legal according to the spec, but apache
accepts it as such

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 3, 2008, 11:11 AM

Post #2 of 6 (625 views)
Permalink
Issue 260 in cherokee: cherokee could accept empty POST [In reply to]

Updates:
Status: Accepted
Owner: alobbs
Labels: Type-Defect Priority-Medium OpSys-All

Comment #1 on issue 260 by alobbs: cherokee could accept empty POST
http://code.google.com/p/cherokee/issues/detail?id=260

(No comment was entered for this change.)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 5, 2008, 1:46 AM

Post #3 of 6 (627 views)
Permalink
Issue 260 in cherokee: cherokee could accept empty POST [In reply to]

Comment #2 on issue 260 by alobbs: cherokee could accept empty POST
http://code.google.com/p/cherokee/issues/detail?id=260

I have just realized that there is a QA test covering that case (it
successes):


http://svn.cherokee-project.com/browser/cherokee/trunk/qa/030-Post%2Burlencoded.py

Johnny, how did you get it to fail? I cannot reproduce the issue.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 5, 2008, 3:09 AM

Post #4 of 6 (628 views)
Permalink
Issue 260 in cherokee: cherokee could accept empty POST [In reply to]

Comment #3 on issue 260 by alobbs: cherokee could accept empty POST
http://code.google.com/p/cherokee/issues/detail?id=260

I have just added another QA test to check whether empty POSTs works with
PHP (FastCGI). They do:


http://svn.cherokee-project.com/browser/cherokee/trunk/qa/194-PHP-zero-len-post.py

Johnny, I'm gonna need a little help to reproduce this one. Everything
works at my end. ':-)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 5, 2008, 11:56 AM

Post #5 of 6 (630 views)
Permalink
Issue 260 in cherokee: cherokee could accept empty POST [In reply to]

Comment #4 on issue 260 by johnnyopposite: cherokee could accept empty POST
http://code.google.com/p/cherokee/issues/detail?id=260

perhaps the issue only happens through a redirection

$(document).ready(function(){
window.setInterval(
function(){
$.post('$ajaxurl',{ foo: "bar"});
},
1000 * 60 * 5 // 5 minutes
);
});


where ajax url is http://localmomentum.net/admin/keep_login

which is handled by redirection on Default ruleset with internal
redirection handler

^.*$ -> /index.php

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 2, 2009, 10:51 AM

Post #6 of 6 (326 views)
Permalink
Re: Issue 260 in cherokee: cherokee could accept empty POST [In reply to]

Updates:
Status: Fixed

Comment #9 on issue 260 by alobbs: cherokee could accept empty POST
http://code.google.com/p/cherokee/issues/detail?id=260

I'm closing this bug: The QA test is in place, and the behavior is alright
now (and besides, the bug has been
inactive for more than 6 months).

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.