1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
|
if( fossil_strcmp(PD("REQUEST_METHOD","POST"),"POST") ){
fossil_redirect_home();
}
g.zLogin = "anonymous";
login_set_anon_nobody_capabilities();
login_check_credentials();
cgi_check_for_malice();
memset(&xfer, 0, sizeof(xfer));
blobarray_zero(xfer.aToken, count(xfer.aToken));
cgi_set_content_type(g.zContentType);
cgi_reset_content();
if( db_schema_is_outofdate() ){
@ error database\sschema\sis\sout-of-date\son\sthe\sserver.
return;
|
>
>
>
>
>
>
>
>
>
>
>
|
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
|
if( fossil_strcmp(PD("REQUEST_METHOD","POST"),"POST") ){
fossil_redirect_home();
}
g.zLogin = "anonymous";
login_set_anon_nobody_capabilities();
login_check_credentials();
cgi_check_for_malice();
#if 1
/*
** 2025-08-15: temporary measure for
** https://sqlite.org/forum/forumpost/7d3eb059f81ff694
** specifically the response at
** https://sqlite.org/forum/forumpost/e735c8c142.
*/
if( g.perm.Clone || g.perm.Read || g.perm.Zip ){
g.perm.Read = g.perm.Clone = 1;
}
#endif
memset(&xfer, 0, sizeof(xfer));
blobarray_zero(xfer.aToken, count(xfer.aToken));
cgi_set_content_type(g.zContentType);
cgi_reset_content();
if( db_schema_is_outofdate() ){
@ error database\sschema\sis\sout-of-date\son\sthe\sserver.
return;
|