Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a bug that prevented the IP address of website users from being recorded in the administator logs. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
266b6127f64cedd005a12116ed61645c |
| User & Date: | drh 2009-06-20 13:06:47.000 |
Context
|
2009-06-20
| ||
| 23:05 | Change the disk number start from 1 to 0 in generated ZIP archives. Ticket [04cba6a00145ab597dabc48ad5ee688496a57650] ... (check-in: deb6f2af4f user: drh tags: trunk) | |
| 13:06 | Fix a bug that prevented the IP address of website users from being recorded in the administator logs. ... (check-in: 266b6127f6 user: drh tags: trunk) | |
|
2009-06-14
| ||
| 15:09 | Fix typo in "finding home dir" error error message. ... (check-in: 16eae22891 user: bch tags: trunk) | |
Changes
Changes to src/cgi.c.
| ︙ | ︙ | |||
676 677 678 679 680 681 682 683 684 685 686 687 688 689 |
cgi_destination(CGI_BODY);
z = (char*)P("QUERY_STRING");
if( z ){
z = mprintf("%s",z);
add_param_list(z, '&');
}
len = atoi(PD("CONTENT_LENGTH", "0"));
g.zContentType = zType = P("CONTENT_TYPE");
if( len>0 && zType ){
blob_zero(&g.cgiIn);
if( strcmp(zType,"application/x-www-form-urlencoded")==0
|| strncmp(zType,"multipart/form-data",19)==0 ){
z = malloc( len+1 );
| > > > | 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 |
cgi_destination(CGI_BODY);
z = (char*)P("QUERY_STRING");
if( z ){
z = mprintf("%s",z);
add_param_list(z, '&');
}
z = P("REMOTE_ADDR");
if( z ) g.zIpAddr = mprintf("%s", z);
len = atoi(PD("CONTENT_LENGTH", "0"));
g.zContentType = zType = P("CONTENT_TYPE");
if( len>0 && zType ){
blob_zero(&g.cgiIn);
if( strcmp(zType,"application/x-www-form-urlencoded")==0
|| strncmp(zType,"multipart/form-data",19)==0 ){
z = malloc( len+1 );
|
| ︙ | ︙ |