Differences From Artifact [d0ba2feaa9]:
- File src/xfer.c — part of check-in [bbb8ae7ebf] at 2009-09-15 18:44:51 on branch trunk — Make it harder to misconfigure the user accounts in a way that might give people greater access than intended. (user: drh size: 37432)
To Artifact [0008bf7842]:
- File src/xfer.c — part of check-in [39a144eb5c] at 2009-09-16 14:50:24 on branch trunk — Make sure that bringing up the "/xfer" URL in a web-browser does something sensible (it redirects to the homepage.) Ticket [1d7bbe30aad51]. (user: drh size: 37517) [more...]
︙ | |||
566 567 568 569 570 571 572 573 574 575 576 577 578 579 | 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 | + + + | Xfer xfer; int deltaFlag = 0; int isClone = 0; int nGimme = 0; int size; int recvConfig = 0; if( strcmp(PD("REQUEST_METHOD","POST"),"POST") ){ fossil_redirect_home(); } memset(&xfer, 0, sizeof(xfer)); blobarray_zero(xfer.aToken, count(xfer.aToken)); cgi_set_content_type(g.zContentType); blob_zero(&xfer.err); xfer.pIn = &g.cgiIn; xfer.pOut = cgi_output_blob(); xfer.mxSend = db_get_int("max-download", 5000000); |
︙ |