Changeset 2035
- Timestamp:
- 01/16/2008 12:26:12 AM (8 months ago)
- Location:
- branches/lighttpd-1.4.x
- Files:
-
- 3 modified
-
NEWS (modified) (1 diff)
-
src/mod_proxy.c (modified) (1 diff)
-
src/mod_scgi.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.4.x/NEWS
r2034 r2035 11 11 * fixed case-sensitive check for Auth-Method (#1456) 12 12 * execute fcgi app without /bin/sh if used as argument to spawn-fcgi (#1428) 13 * fixed a bug that made /-prefixed fcgiextensions being handled also when14 matching the end of the uri (#1489)13 * fixed a bug that made /-prefixed extensions being handled also when 14 matching the end of the uri in fcgi,scgi and proxy modules (#1489) 15 15 * Print error if X-LIGHTTPD-send-file cannot be done; reset header 16 16 Content-Length for send-file. Patches by Stefan B� -
branches/lighttpd-1.4.x/src/mod_proxy.c
r1932 r2035 1094 1094 1095 1095 /* check extension in the form "/proxy_pattern" */ 1096 if (*(extension->key->ptr) == '/' && strncmp(fn->ptr, extension->key->ptr, ct_len) == 0) { 1097 if (s_len > ct_len + 1) { 1098 char *pi_offset; 1099 1100 if (0 != (pi_offset = strchr(fn->ptr + ct_len + 1, '/'))) { 1101 path_info_offset = pi_offset - fn->ptr; 1096 if (*(extension->key->ptr) == '/') { 1097 if (strncmp(fn->ptr, extension->key->ptr, ct_len) == 0) { 1098 if (s_len > ct_len + 1) { 1099 char *pi_offset; 1100 1101 if (0 != (pi_offset = strchr(fn->ptr + ct_len + 1, '/'))) { 1102 path_info_offset = pi_offset - fn->ptr; 1103 } 1102 1104 } 1103 }1104 break;1105 break; 1106 } 1105 1107 } else if (0 == strncmp(fn->ptr + s_len - ct_len, extension->key->ptr, ct_len)) { 1106 1108 /* check extension in the form ".fcg" */ -
branches/lighttpd-1.4.x/src/mod_scgi.c
r1951 r2035 2695 2695 2696 2696 /* check extension in the form "/scgi_pattern" */ 2697 if (*(extension->key->ptr) == '/' && strncmp(fn->ptr, extension->key->ptr, ct_len) == 0) { 2698 break; 2697 if (*(extension->key->ptr) == '/') { 2698 if (strncmp(fn->ptr, extension->key->ptr, ct_len) == 0) 2699 break; 2699 2700 } else if (0 == strncmp(fn->ptr + s_len - ct_len, extension->key->ptr, ct_len)) { 2700 2701 /* check extension in the form ".fcg" */

