Fossil SCM
Omit "zip" from the default robot-restrict settings.
Commit
a199b74fa8a810514968d0fd9ccd0e74ea686701d8a3b3515b93a149dee07211
Parent
cc5ffebb51bc823…
1 file changed
+2
-2
+2
-2
| --- src/robot.c | ||
| +++ src/robot.c | ||
| @@ -258,11 +258,11 @@ | ||
| 258 | 258 | ** The VALUE of this setting is a list of GLOB patterns that match |
| 259 | 259 | ** pages for which complex HTTP requests from unauthenticated clients |
| 260 | 260 | ** should be disallowed. "Unauthenticated" means the user is "nobody". |
| 261 | 261 | ** The recommended value for this setting is: |
| 262 | 262 | ** |
| 263 | -** timelineX,diff,annotate,zip,fileage,file,finfo,reports | |
| 263 | +** timelineX,diff,annotate,fileage,file,finfo,reports | |
| 264 | 264 | ** |
| 265 | 265 | ** The "diff" tag covers all diffing pages such as /vdiff, /fdiff, and |
| 266 | 266 | ** /vpatch. The "annotate" tag also covers /blame and /praise. "zip" |
| 267 | 267 | ** also covers /tarball and /sqlar. If a tag has an "X" character appended, |
| 268 | 268 | ** then it only applies if query parameters are such that the page is |
| @@ -292,11 +292,11 @@ | ||
| 292 | 292 | |
| 293 | 293 | /* |
| 294 | 294 | ** Return the default restriction GLOB |
| 295 | 295 | */ |
| 296 | 296 | 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"; | |
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | /* |
| 301 | 301 | ** Return true if zTag matches one of the tags in the robot-restrict |
| 302 | 302 | ** setting. |
| 303 | 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,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 |