Fossil SCM

Enable ZIP and Tarball downloads for user "nobody" by default, since the other anti-spider defenses seem to work well enough to prevent abuse.

drh 2015-01-23 18:43 trunk
Commit 68ce0bcf6269988efe0ba4bf97b3c4876d8b0a38
1 file changed +2 -2
+2 -2
--- src/db.c
+++ src/db.c
@@ -1439,13 +1439,13 @@
14391439
" WHERE login=%Q", zUser
14401440
);
14411441
if( !setupUserOnly ){
14421442
db_multi_exec(
14431443
"INSERT OR IGNORE INTO user(login,pw,cap,info)"
1444
- " VALUES('anonymous',hex(randomblob(8)),'hmncz','Anon');"
1444
+ " VALUES('anonymous',hex(randomblob(8)),'hmnc','Anon');"
14451445
"INSERT OR IGNORE INTO user(login,pw,cap,info)"
1446
- " VALUES('nobody','','gjor','Nobody');"
1446
+ " VALUES('nobody','','gjorz','Nobody');"
14471447
"INSERT OR IGNORE INTO user(login,pw,cap,info)"
14481448
" VALUES('developer','','dei','Dev');"
14491449
"INSERT OR IGNORE INTO user(login,pw,cap,info)"
14501450
" VALUES('reader','','kptw','Reader');"
14511451
);
14521452
--- src/db.c
+++ src/db.c
@@ -1439,13 +1439,13 @@
1439 " WHERE login=%Q", zUser
1440 );
1441 if( !setupUserOnly ){
1442 db_multi_exec(
1443 "INSERT OR IGNORE INTO user(login,pw,cap,info)"
1444 " VALUES('anonymous',hex(randomblob(8)),'hmncz','Anon');"
1445 "INSERT OR IGNORE INTO user(login,pw,cap,info)"
1446 " VALUES('nobody','','gjor','Nobody');"
1447 "INSERT OR IGNORE INTO user(login,pw,cap,info)"
1448 " VALUES('developer','','dei','Dev');"
1449 "INSERT OR IGNORE INTO user(login,pw,cap,info)"
1450 " VALUES('reader','','kptw','Reader');"
1451 );
1452
--- src/db.c
+++ src/db.c
@@ -1439,13 +1439,13 @@
1439 " WHERE login=%Q", zUser
1440 );
1441 if( !setupUserOnly ){
1442 db_multi_exec(
1443 "INSERT OR IGNORE INTO user(login,pw,cap,info)"
1444 " VALUES('anonymous',hex(randomblob(8)),'hmnc','Anon');"
1445 "INSERT OR IGNORE INTO user(login,pw,cap,info)"
1446 " VALUES('nobody','','gjorz','Nobody');"
1447 "INSERT OR IGNORE INTO user(login,pw,cap,info)"
1448 " VALUES('developer','','dei','Dev');"
1449 "INSERT OR IGNORE INTO user(login,pw,cap,info)"
1450 " VALUES('reader','','kptw','Reader');"
1451 );
1452

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button