Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Don't show the cookie values on the test_env page, unless the fossil executable was built with FOSSIL_DEBUG. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
35ecc92b69f7d0a73237e10dde8697ee |
| User & Date: | ben 2011-07-10 12:05:59.585 |
References
|
2011-07-11
| ||
| 06:13 | • New ticket [f24f11f538] --name-only option in fossil diff. ... (artifact: 95b079fccd user: altufaltu) | |
Context
|
2011-07-12
| ||
| 20:27 | Be sure to flush g.httpOut at the end of cgi_reply(). ... (check-in: 2cd0c7657f user: drh tags: trunk) | |
|
2011-07-10
| ||
| 13:01 | When running the changes or status command from inside a sub-directory of the check out, only show the changes in or below the current directory unless the --show-all option is used. ... (check-in: e0d2e1f9b8 user: ben tags: ben-changes-report) | |
| 12:05 | Don't show the cookie values on the test_env page, unless the fossil executable was built with FOSSIL_DEBUG. ... (check-in: 35ecc92b69 user: ben tags: trunk) | |
|
2011-07-09
| ||
| 16:12 | Added ability to access repositories via CGI that are located in a path containing whitespaces. ... (check-in: fc15fe0418 user: rimkojr tags: trunk) | |
Changes
Changes to src/cgi.c.
| ︙ | ︙ | |||
885 886 887 888 889 890 891 892 893 894 895 896 |
va_end(ap);
return 1;
}
/*
** Print all query parameters on standard output. Format the
** parameters as HTML. This is used for testing and debugging.
*/
void cgi_print_all(void){
int i;
cgi_parameter("",""); /* Force the parameters into sorted order */
for(i=0; i<nUsedQP; i++){
| > > > > > > > > | | > | 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 |
va_end(ap);
return 1;
}
/*
** Print all query parameters on standard output. Format the
** parameters as HTML. This is used for testing and debugging.
** Release builds omit the values of the cookies to avoid defeating
** the purpose of setting HttpOnly cookies.
*/
void cgi_print_all(void){
int i;
int showAll = 0;
#ifdef FOSSIL_DEBUG
/* Show the values of cookies in debug mode. */
showAll = 1;
#endif
cgi_parameter("",""); /* Force the parameters into sorted order */
for(i=0; i<nUsedQP; i++){
if( showAll || (fossil_stricmp("HTTP_COOKIE",aParamQP[i].zName)!=0 && fossil_strnicmp("fossil-",aParamQP[i].zName,7)!=0) ){
cgi_printf("%s = %s <br />\n",
htmlize(aParamQP[i].zName, -1), htmlize(aParamQP[i].zValue, -1));
}
}
}
/*
** This routine works like "printf" except that it has the
** extra formatting capabilities such as %h and %t.
*/
|
| ︙ | ︙ |