Fossil SCM
Update the security audit to report when extension CGI is available.
Commit
e2cad541ff972ac50321d523fe986f6b2b936b159e122f06a750284202b30330
Parent
c31ff76fe98d4b4…
1 file changed
+6
-1
+6
-1
| --- src/security_audit.c | ||
| +++ src/security_audit.c | ||
| @@ -419,14 +419,19 @@ | ||
| 419 | 419 | @ There is an error log at "%h(g.zErrlog)" but that file is not |
| 420 | 420 | @ writable and so no logging will occur. |
| 421 | 421 | }else{ |
| 422 | 422 | fclose(pTest); |
| 423 | 423 | @ <li><p> |
| 424 | - @ The error log at "<a href='%R/errorlog'>%h(g.zErrlog)</a>" that is | |
| 424 | + @ The error log at "<a href='%R/errorlog'>%h(g.zErrlog)</a>" is | |
| 425 | 425 | @ %,lld(file_size(g.zErrlog, ExtFILE)) bytes in size. |
| 426 | 426 | } |
| 427 | 427 | } |
| 428 | + | |
| 429 | + if( g.zExtRoot ){ | |
| 430 | + @ <li><p> CGI Extensions are enabled with a document root | |
| 431 | + @ of <b>%h(g.zExtRoot)</b>. | |
| 432 | + } | |
| 428 | 433 | |
| 429 | 434 | @ <li><p> User capability summary: |
| 430 | 435 | capability_summary(); |
| 431 | 436 | |
| 432 | 437 | if( alert_enabled() ){ |
| 433 | 438 |
| --- src/security_audit.c | |
| +++ src/security_audit.c | |
| @@ -419,14 +419,19 @@ | |
| 419 | @ There is an error log at "%h(g.zErrlog)" but that file is not |
| 420 | @ writable and so no logging will occur. |
| 421 | }else{ |
| 422 | fclose(pTest); |
| 423 | @ <li><p> |
| 424 | @ The error log at "<a href='%R/errorlog'>%h(g.zErrlog)</a>" that is |
| 425 | @ %,lld(file_size(g.zErrlog, ExtFILE)) bytes in size. |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | @ <li><p> User capability summary: |
| 430 | capability_summary(); |
| 431 | |
| 432 | if( alert_enabled() ){ |
| 433 |
| --- src/security_audit.c | |
| +++ src/security_audit.c | |
| @@ -419,14 +419,19 @@ | |
| 419 | @ There is an error log at "%h(g.zErrlog)" but that file is not |
| 420 | @ writable and so no logging will occur. |
| 421 | }else{ |
| 422 | fclose(pTest); |
| 423 | @ <li><p> |
| 424 | @ The error log at "<a href='%R/errorlog'>%h(g.zErrlog)</a>" is |
| 425 | @ %,lld(file_size(g.zErrlog, ExtFILE)) bytes in size. |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | if( g.zExtRoot ){ |
| 430 | @ <li><p> CGI Extensions are enabled with a document root |
| 431 | @ of <b>%h(g.zExtRoot)</b>. |
| 432 | } |
| 433 | |
| 434 | @ <li><p> User capability summary: |
| 435 | capability_summary(); |
| 436 | |
| 437 | if( alert_enabled() ){ |
| 438 |