Fossil SCM

Fix a typo in the regular expression example for robot-exception

drh 2025-08-22 01:51 trunk
Commit 31b09807efdd82219ff43317b5569ccadc5e56d0ad3251157ad3a7ccf0a7413a
1 file changed +1 -1
+1 -1
--- src/setup.c
+++ src/setup.c
@@ -507,11 +507,11 @@
507507
@ If any of these regular expressions match the input URL, then the
508508
@ request is exempt from anti-robot defenses. Use this, for example,
509509
@ to allow scripts to download release tarballs using a pattern
510510
@ like:</p>
511511
@ <p>
512
- @ &emsp;&emsp;<tt>^/tarball\b*\b(version-|release)\b</tt>
512
+ @ &emsp;&emsp;<tt>^/tarball\b.*\b(version-|release)\b</tt>
513513
@ <p>The pattern should match against the REQUEST_URI with the
514514
@ SCRIPT_NAME prefix removed, and with QUERY_STRING appended following
515515
@ a "?" if QUERY_STRING exists. (Property: robot-exception)<br>
516516
textarea_attribute("", 3, 80,
517517
"robot-exception", "rbexcept", "", 0);
518518
--- src/setup.c
+++ src/setup.c
@@ -507,11 +507,11 @@
507 @ If any of these regular expressions match the input URL, then the
508 @ request is exempt from anti-robot defenses. Use this, for example,
509 @ to allow scripts to download release tarballs using a pattern
510 @ like:</p>
511 @ <p>
512 @ &emsp;&emsp;<tt>^/tarball\b*\b(version-|release)\b</tt>
513 @ <p>The pattern should match against the REQUEST_URI with the
514 @ SCRIPT_NAME prefix removed, and with QUERY_STRING appended following
515 @ a "?" if QUERY_STRING exists. (Property: robot-exception)<br>
516 textarea_attribute("", 3, 80,
517 "robot-exception", "rbexcept", "", 0);
518
--- src/setup.c
+++ src/setup.c
@@ -507,11 +507,11 @@
507 @ If any of these regular expressions match the input URL, then the
508 @ request is exempt from anti-robot defenses. Use this, for example,
509 @ to allow scripts to download release tarballs using a pattern
510 @ like:</p>
511 @ <p>
512 @ &emsp;&emsp;<tt>^/tarball\b.*\b(version-|release)\b</tt>
513 @ <p>The pattern should match against the REQUEST_URI with the
514 @ SCRIPT_NAME prefix removed, and with QUERY_STRING appended following
515 @ a "?" if QUERY_STRING exists. (Property: robot-exception)<br>
516 textarea_attribute("", 3, 80,
517 "robot-exception", "rbexcept", "", 0);
518

Keyboard Shortcuts

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