aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtipidee
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-03-06 09:50:13 +0000
committerLaurent Bercot <ska@appnovation.com>2024-03-06 09:50:13 +0000
commitc01130bff03b3a1bf4ec73962fd6a4741d68483e (patch)
tree59ab5347d2d8e5f1301d8b177d342fb123f3403a /src/libtipidee
parentc02cc7dd9985f42e807badefe97c005d8e3534f2 (diff)
downloadtipidee-c01130bff03b3a1bf4ec73962fd6a4741d68483e.tar.gz
Fix indexification with infopath for full cgi sites
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libtipidee')
-rw-r--r--src/libtipidee/tipidee_log_resource.c2
1 files changed, 1 insertions, 1 deletions
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 ;