Changeset 596
- Timestamp:
- 01/09/07 22:20:24 (2 years ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/handler_scgi.c (modified) (1 diff)
- cherokee/trunk/qa/126-SCGI.py (modified) (1 diff)
- cherokee/trunk/qa/127-SCGI-Post.py (modified) (1 diff)
- cherokee/trunk/qa/140-SCGI-EmptyVars.py (added)
- cherokee/trunk/qa/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r595 r596 1 1 2007-01-09 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * qa/140-SCGI-EmptyVars.py, qa/Makefile.am (EXTRA_DIST): Added new 4 QA test to ensure that the PATH_INFO and QUERY_STRING environment 5 variables are set even if they are empty. 6 7 * cherokee/handler_scgi.c (add_env_pair): It should be able to add 8 environment variables with empty value. Thus, I've removed the 9 check for the val_len equal to zero. 2 10 3 11 * qa/126-SCGI.py, qa/127-SCGI-Post.py: Adapted to use 'pyscgi' cherokee/trunk/cherokee/handler_scgi.c
r528 r596 115 115 cherokee_handler_scgi_t *scgi = HDL_SCGI(cgi_base); 116 116 117 if (val_len == 0) {118 return;119 }120 121 117 cherokee_buffer_ensure_size (&scgi->header, scgi->header.len + key_len + val_len + 3); 122 118 cherokee/trunk/qa/126-SCGI.py
r595 r596 34 34 self.expected_error = 200 35 35 self.expected_content = MAGIC 36 self.forbidden_content = [" scgi.scgi_server", "SCGIServer", "write"]36 self.forbidden_content = ["pyscgi", "SCGIServer", "write"] 37 37 38 38 def Prepare (self, www): cherokee/trunk/qa/127-SCGI-Post.py
r595 r596 39 39 self.expected_error = 200 40 40 self.expected_content = "Post: "+MAGIC 41 self.forbidden_content = [" scgi.scgi_server", "SCGIServer", "write"]41 self.forbidden_content = ["pyscgi", "SCGIServer", "write"] 42 42 43 43 def Prepare (self, www): cherokee/trunk/qa/Makefile.am
r490 r596 140 140 135-RedirParams.py \ 141 141 136-BadRange.py \ 142 137-Mime1.py 142 137-Mime1.py \ 143 138-ChangeUser-cgi.py \ 144 139-domain-wildcards1.py \ 145 140-SCGI-EmptyVars.py 143 146 144 147 test: