mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-21 03:26:42 +03:00
log messages fix
This commit is contained in:
committed by
Felipe Zimmerle
parent
8a0e3d0e9f
commit
a0781edba2
@@ -544,6 +544,8 @@ JNIEXPORT jint JNICALL Java_org_modsecurity_ModSecurity_onRequest(JNIEnv *env, j
|
||||
r = modsecNewRequest(c, config);
|
||||
|
||||
r->server->server_hostname = serverHostname;
|
||||
r->handler = "Java";
|
||||
|
||||
httpTransactionClass = (*env)->GetObjectClass(env, httpTransaction);
|
||||
getHttpRequest = (*env)->GetMethodID(env, httpTransactionClass, HTTPTRANSACTION_MSHTTPREQUEST_MET, HTTPTRANSACTION_MSHTTPREQUEST_SIG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user