Changeset 2149
- Timestamp:
- 04/23/2008 01:04:21 PM (4 months ago)
- Location:
- branches/lighttpd-1.4.x
- Files:
-
- 2 modified
-
NEWS (modified) (1 diff)
-
src/mod_accesslog.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.4.x/NEWS
r2148 r2149 16 16 * Fix conditional interpretation of core options 17 17 * Enable escaping of % and $ in redirect/rewrite; only two cases changed their behaviour: "%%" => "%", "$$" => "$" 18 * Fix accesslog port (should be port from the connection, not the "server.port") (#1618) 18 19 19 20 - 1.4.19 - 2008-03-10 -
branches/lighttpd-1.4.x/src/mod_accesslog.c
r1872 r2149 807 807 break; 808 808 case FORMAT_SERVER_PORT: 809 buffer_append_long(b, srv->srvconf.port); 809 { 810 char *colon = strchr(((server_socket*)(con->srv_socket))->srv_token->ptr, ':'); 811 if (colon) { 812 buffer_append_string(b, colon+1); 813 } else { 814 buffer_append_long(b, srv->srvconf.port); 815 } 816 } 810 817 break; 811 818 case FORMAT_QUERY_STRING:

