| | @@ -2201,10 +2201,11 @@ |
| 2201 | 2201 | { "ssl-identity", 0, 40, 0, 0, "" }, |
| 2202 | 2202 | #ifdef FOSSIL_ENABLE_TCL |
| 2203 | 2203 | { "tcl", 0, 0, 0, 0, "off" }, |
| 2204 | 2204 | { "tcl-setup", 0, 40, 1, 1, "" }, |
| 2205 | 2205 | #endif |
| 2206 | + { "th1-docs", 0, 0, 0, 0, "off" }, |
| 2206 | 2207 | { "th1-hooks", 0, 0, 0, 0, "off" }, |
| 2207 | 2208 | { "th1-setup", 0, 40, 1, 1, "" }, |
| 2208 | 2209 | { "th1-uri-regexp", 0, 40, 1, 0, "" }, |
| 2209 | 2210 | { "web-browser", 0, 32, 0, 0, "" }, |
| 2210 | 2211 | { "white-foreground", 0, 0, 0, 0, "off" }, |
| | @@ -2408,10 +2409,18 @@ |
| 2408 | 2409 | ** expressions and scripts. Default: off. |
| 2409 | 2410 | ** |
| 2410 | 2411 | ** tcl-setup This is the setup script to be evaluated after creating |
| 2411 | 2412 | ** (versionable) and initializing the Tcl interpreter. By default, this |
| 2412 | 2413 | ** is empty and no extra setup is performed. |
| 2414 | +** |
| 2415 | +** th1-docs WARNING: If enabled, this allows embedded documentation |
| 2416 | +** files to contain TH1 scripts that are evaluated on the |
| 2417 | +** server. If native Tcl integration is also enabled, this |
| 2418 | +** setting has the potential to allow anybody with check-in |
| 2419 | +** privileges to do practically anything the associated |
| 2420 | +** operating system user account could do. Extreme caution |
| 2421 | +** should be used when enabling this setting. |
| 2413 | 2422 | ** |
| 2414 | 2423 | ** th1-hooks If enabled (and Fossil was compiled with support for TH1 |
| 2415 | 2424 | ** hooks), special TH1 commands will be called before and |
| 2416 | 2425 | ** after any Fossil command or web page. Default: off. |
| 2417 | 2426 | ** |
| 2418 | 2427 | |