Fossil SCM

Back out the restriction (added by [b9a9e2b9af6ce203]) that prevents SQL Archives from being downloaded by user nobody.

drh 2025-10-15 22:51 get-command
Commit 489b262674279427dad17b8a14138b3bb56c5c75dfea626bb421e0ec4a6798a8
1 file changed -3
-3
--- src/zip.c
+++ src/zip.c
@@ -1031,13 +1031,10 @@
10311031
if( !g.perm.Zip ){ login_needed(g.anon.Zip); return; }
10321032
if( robot_restrict("zip") ) return;
10331033
if( fossil_strcmp(g.zPath, "sqlar")==0 ){
10341034
eType = ARCHIVE_SQLAR;
10351035
zType = "SQL";
1036
- /* For some reason, SQL-archives are like catnip for robots. So
1037
- ** don't allow them to be downloaded by user "nobody" */
1038
- if( g.zLogin==0 ){ login_needed(g.anon.Zip); return; }
10391036
}else{
10401037
eType = ARCHIVE_ZIP;
10411038
zType = "ZIP";
10421039
}
10431040
fossil_nice_default();
10441041
--- src/zip.c
+++ src/zip.c
@@ -1031,13 +1031,10 @@
1031 if( !g.perm.Zip ){ login_needed(g.anon.Zip); return; }
1032 if( robot_restrict("zip") ) return;
1033 if( fossil_strcmp(g.zPath, "sqlar")==0 ){
1034 eType = ARCHIVE_SQLAR;
1035 zType = "SQL";
1036 /* For some reason, SQL-archives are like catnip for robots. So
1037 ** don't allow them to be downloaded by user "nobody" */
1038 if( g.zLogin==0 ){ login_needed(g.anon.Zip); return; }
1039 }else{
1040 eType = ARCHIVE_ZIP;
1041 zType = "ZIP";
1042 }
1043 fossil_nice_default();
1044
--- src/zip.c
+++ src/zip.c
@@ -1031,13 +1031,10 @@
1031 if( !g.perm.Zip ){ login_needed(g.anon.Zip); return; }
1032 if( robot_restrict("zip") ) return;
1033 if( fossil_strcmp(g.zPath, "sqlar")==0 ){
1034 eType = ARCHIVE_SQLAR;
1035 zType = "SQL";
 
 
 
1036 }else{
1037 eType = ARCHIVE_ZIP;
1038 zType = "ZIP";
1039 }
1040 fossil_nice_default();
1041

Keyboard Shortcuts

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