diff --git a/src/path.c b/src/path.c index ee34cfe..2eb3934 100644 --- a/src/path.c +++ b/src/path.c @@ -62,7 +62,7 @@ int parse_path(struct session* ssn, tmp = NULL; str_size = 0; } - else if (state == PARSE_NEUTRAL) { + else if (state == PARSE_NEUTRAL && fin != 1) { if (p[j] == p2[i]) break; else {