254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
|
#ifdef FOSSIL_ENABLE_TCL
/* all Tcl related context necessary for integration */
struct TclContext tcl;
#endif
/* For defense against Cross-site Request Forgery attacks */
char zCsrfToken[12]; /* Value of the anti-CSRF token */
int okCsrf; /* -1: unsafe
** 0: unknown
** 1: same origin
** 2: same origin + is POST
** 3: same origin, POST, valid csrf token */
int parseCnt[10]; /* Counts of artifacts parsed */
|
|
|
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
|
#ifdef FOSSIL_ENABLE_TCL
/* all Tcl related context necessary for integration */
struct TclContext tcl;
#endif
/* For defense against Cross-site Request Forgery attacks */
char zCsrfToken[16]; /* Value of the anti-CSRF token */
int okCsrf; /* -1: unsafe
** 0: unknown
** 1: same origin
** 2: same origin + is POST
** 3: same origin, POST, valid csrf token */
int parseCnt[10]; /* Counts of artifacts parsed */
|