From c01130bff03b3a1bf4ec73962fd6a4741d68483e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 6 Mar 2024 09:50:13 +0000 Subject: Fix indexification with infopath for full cgi sites Signed-off-by: Laurent Bercot --- src/libtipidee/tipidee_log_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtipidee') diff --git a/src/libtipidee/tipidee_log_resource.c b/src/libtipidee/tipidee_log_resource.c index efdea69..38c7294 100644 --- a/src/libtipidee/tipidee_log_resource.c +++ b/src/libtipidee/tipidee_log_resource.c @@ -21,7 +21,7 @@ void tipidee_log_resource (uint32_t v, tipidee_rql const *rql, char const *file, a[m++] = file ; a[m++] = " type " ; a[m++] = ra->flags & TIPIDEE_RA_FLAG_CGI ? ra->flags & TIPIDEE_RA_FLAG_NPH ? "nph" : "cgi" : ra->content_type ; - if (ra->flags & TIPIDEE_RA_FLAG_CGI && infopath) + if (ra->flags & TIPIDEE_RA_FLAG_CGI && infopath[0]) { a[m++] = " path_info /" ; a[m++] = infopath ; -- cgit v1.3.1