v0.2.1
FIXED: * Better request tracking through flow ADDED: * Cross-check detection
This commit is contained in:
@@ -25,6 +25,8 @@ const (
|
||||
falseUaFieldStr string = "No"
|
||||
dfltIndent string = " "
|
||||
httpRealHdr string = "X-ClientInfo-RealIP" // TODO: advise https://nginx.org/en/docs/http/ngx_http_realip_module.html NGINX module? Allow config for user-specified header?
|
||||
httpCIDHdr string = "Request-Id"
|
||||
urlParamXCheck string = "src_req_id"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -36,7 +38,7 @@ var (
|
||||
template.FuncMap{
|
||||
"getTitle": getTitle,
|
||||
"getIpver": getIpver,
|
||||
"safeUrl": safeUrl,
|
||||
"safeUrl": safeUrl,
|
||||
},
|
||||
).ParseFS(tplDir, "tpl/*.tpl"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user