Fossil SCM

Omit "zip" from the default robot-restrict settings.

drh 2025-10-09 10:29 trunk
Commit a199b74fa8a810514968d0fd9ccd0e74ea686701d8a3b3515b93a149dee07211
1 file changed +2 -2
+2 -2
--- src/robot.c
+++ src/robot.c
@@ -258,11 +258,11 @@
258258
** The VALUE of this setting is a list of GLOB patterns that match
259259
** pages for which complex HTTP requests from unauthenticated clients
260260
** should be disallowed. "Unauthenticated" means the user is "nobody".
261261
** The recommended value for this setting is:
262262
**
263
-** timelineX,diff,annotate,zip,fileage,file,finfo,reports
263
+** timelineX,diff,annotate,fileage,file,finfo,reports
264264
**
265265
** The "diff" tag covers all diffing pages such as /vdiff, /fdiff, and
266266
** /vpatch. The "annotate" tag also covers /blame and /praise. "zip"
267267
** also covers /tarball and /sqlar. If a tag has an "X" character appended,
268268
** then it only applies if query parameters are such that the page is
@@ -292,11 +292,11 @@
292292
293293
/*
294294
** Return the default restriction GLOB
295295
*/
296296
const char *robot_restrict_default(void){
297
- return "timelineX,diff,annotate,zip,fileage,file,finfo,reports";
297
+ return "timelineX,diff,annotate,fileage,file,finfo,reports";
298298
}
299299
300300
/*
301301
** Return true if zTag matches one of the tags in the robot-restrict
302302
** setting.
303303
--- src/robot.c
+++ src/robot.c
@@ -258,11 +258,11 @@
258 ** The VALUE of this setting is a list of GLOB patterns that match
259 ** pages for which complex HTTP requests from unauthenticated clients
260 ** should be disallowed. "Unauthenticated" means the user is "nobody".
261 ** The recommended value for this setting is:
262 **
263 ** timelineX,diff,annotate,zip,fileage,file,finfo,reports
264 **
265 ** The "diff" tag covers all diffing pages such as /vdiff, /fdiff, and
266 ** /vpatch. The "annotate" tag also covers /blame and /praise. "zip"
267 ** also covers /tarball and /sqlar. If a tag has an "X" character appended,
268 ** then it only applies if query parameters are such that the page is
@@ -292,11 +292,11 @@
292
293 /*
294 ** Return the default restriction GLOB
295 */
296 const char *robot_restrict_default(void){
297 return "timelineX,diff,annotate,zip,fileage,file,finfo,reports";
298 }
299
300 /*
301 ** Return true if zTag matches one of the tags in the robot-restrict
302 ** setting.
303
--- src/robot.c
+++ src/robot.c
@@ -258,11 +258,11 @@
258 ** The VALUE of this setting is a list of GLOB patterns that match
259 ** pages for which complex HTTP requests from unauthenticated clients
260 ** should be disallowed. "Unauthenticated" means the user is "nobody".
261 ** The recommended value for this setting is:
262 **
263 ** timelineX,diff,annotate,fileage,file,finfo,reports
264 **
265 ** The "diff" tag covers all diffing pages such as /vdiff, /fdiff, and
266 ** /vpatch. The "annotate" tag also covers /blame and /praise. "zip"
267 ** also covers /tarball and /sqlar. If a tag has an "X" character appended,
268 ** then it only applies if query parameters are such that the page is
@@ -292,11 +292,11 @@
292
293 /*
294 ** Return the default restriction GLOB
295 */
296 const char *robot_restrict_default(void){
297 return "timelineX,diff,annotate,fileage,file,finfo,reports";
298 }
299
300 /*
301 ** Return true if zTag matches one of the tags in the robot-restrict
302 ** setting.
303

Keyboard Shortcuts

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