mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
log original uri and fix GET url parsing
This commit is contained in:
parent
6c9b49a5d7
commit
0c3b03ac8d
2 changed files with 22 additions and 2 deletions
|
@ -76,6 +76,9 @@ export {
|
|||
## HTTP request may contain several OCSP requests;
|
||||
## this is copied from connection
|
||||
num_ocsp: count &log &optional;
|
||||
|
||||
## the original_uri in HTTP request
|
||||
original_uri: string &log &optional;
|
||||
};
|
||||
|
||||
type Issuer_Name_Type: record {
|
||||
|
@ -342,6 +345,9 @@ function update_http_info(ocsp: OCSP_SSL_SPLIT::Info_OCSP, http: HTTP::Info)
|
|||
if ( http?$method )
|
||||
ocsp$method = http$method;
|
||||
|
||||
if ( http?$original_uri )
|
||||
ocsp$original_uri = http$original_uri;
|
||||
|
||||
if ( http?$host )
|
||||
ocsp$ocsp_uri = http$host;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue