Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Disabling Cache-control: no-store, as it made firefox forget about form field contents on back/forward in history. Resolution achieved by a minimal consensus at [http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg06314.html|this thread on the mailing list]. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
3fac77d7b069402bd51f82bb1783f136 |
| User & Date: | viriketo 2011-10-03 16:34:06.833 |
Context
|
2011-10-04
| ||
| 15:15 | Merge protection against timing attacks into trunk. ... (check-in: d4a341b49d user: dmitry tags: trunk) | |
| 14:38 | Merge trunk into dmitry-security branch. ... (Closed-Leaf check-in: f4eb0f5afc user: dmitry tags: dmitry-security) | |
|
2011-10-03
| ||
| 16:34 | Disabling Cache-control: no-store, as it made firefox forget about form field contents on back/forward in history. Resolution achieved by a minimal consensus at [http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg06314.html|this thread on the mailing list]. ... (check-in: 3fac77d7b0 user: viriketo tags: trunk) | |
|
2011-10-02
| ||
| 13:30 | minor hack to name_search() to make it stop searching after it determines there is an ambiguity. ... (check-in: ae64088627 user: stephan tags: trunk) | |
Changes
Changes to src/cgi.c.
| ︙ | ︙ | |||
323 324 325 326 327 328 329 |
** stale cache is the least of the problem. So we provide an Expires
** header set to a reasonable period (default: one week).
*/
/*time_t expires = time(0) + atoi(db_config("constant_expires","604800"));*/
time_t expires = time(0) + 604800;
fprintf(g.httpOut, "Expires: %s\r\n", cgi_rfc822_datestamp(expires));
}else{
| | | 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 |
** stale cache is the least of the problem. So we provide an Expires
** header set to a reasonable period (default: one week).
*/
/*time_t expires = time(0) + atoi(db_config("constant_expires","604800"));*/
time_t expires = time(0) + 604800;
fprintf(g.httpOut, "Expires: %s\r\n", cgi_rfc822_datestamp(expires));
}else{
fprintf(g.httpOut, "Cache-control: no-cache\r\n");
}
/* Content intended for logged in users should only be cached in
** the browser, not some shared location.
*/
fprintf(g.httpOut, "Content-Type: %s; charset=utf-8\r\n", zContentType);
if( fossil_strcmp(zContentType,"application/x-fossil")==0 ){
|
| ︙ | ︙ |