mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Using real server signature on status call
On Apache platform the server signature can be replaced using the SecServerSignature directive. Status call was using the signature informed by this directive instead of using the original one. As reported at #702.
This commit is contained in:
@@ -133,6 +133,7 @@ typedef struct msc_parm msc_parm;
|
||||
#define FATAL_ERROR "ModSecurity: Fatal error (memory allocation or unexpected internal error)!"
|
||||
|
||||
extern DSOLOCAL char *new_server_signature;
|
||||
extern DSOLOCAL char *real_server_signature;
|
||||
extern DSOLOCAL char *chroot_dir;
|
||||
|
||||
extern module AP_MODULE_DECLARE_DATA security2_module;
|
||||
|
Reference in New Issue
Block a user