Fossil SCM

Update the security audit to report when extension CGI is available.

drh 2019-08-02 13:34 trunk
Commit e2cad541ff972ac50321d523fe986f6b2b936b159e122f06a750284202b30330
1 file changed +6 -1
--- src/security_audit.c
+++ src/security_audit.c
@@ -419,14 +419,19 @@
419419
@ There is an error log at "%h(g.zErrlog)" but that file is not
420420
@ writable and so no logging will occur.
421421
}else{
422422
fclose(pTest);
423423
@ <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
425425
@ %,lld(file_size(g.zErrlog, ExtFILE)) bytes in size.
426426
}
427427
}
428
+
429
+ if( g.zExtRoot ){
430
+ @ <li><p> CGI Extensions are enabled with a document root
431
+ @ of <b>%h(g.zExtRoot)</b>.
432
+ }
428433
429434
@ <li><p> User capability summary:
430435
capability_summary();
431436
432437
if( alert_enabled() ){
433438
--- 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

Keyboard Shortcuts

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