Differences From Artifact [ce3ed13eec]:
- File src/cgi.c — part of check-in [34cb4766f1] at 2020-05-21 23:56:10 on branch trunk — Add a Content-Disposition: header to the HTTP reply for the "Download" button. (user: drh size: 69932)
To Artifact [865c0f0871]:
- File src/cgi.c — part of check-in [02e7c86b3f] at 2020-05-21 23:59:14 on branch trunk — Change a case of isalnum() to fossil_isalnum(). (user: drh size: 69939)
︙ | |||
443 444 445 446 447 448 449 | 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 | - + | /* 0123456789 123456789 123456789 123456789 123456*/ char *z = mprintf("Content-Disposition: attachment; filename=\"%s\";\r\n", zFilename); int i; int n = (int)strlen(z); for(i=43; i<n-4; i++){ char c = z[i]; |
︙ |