From 845255a61b3102732b079b3d6dbe883ab0910d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bellegarde?= Date: Wed, 12 Jul 2023 17:22:11 +0200 Subject: [PATCH] Some urls add params without a / --- util/url-scanner.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/url-scanner.c b/util/url-scanner.c index 9221b87d..423333af 100644 --- a/util/url-scanner.c +++ b/util/url-scanner.c @@ -503,6 +503,7 @@ url_web_end (const char *in, const char *pos, const char *inend, urlmatch_t *mat /* we have a '/' so there could be a path - fall through */ case '/': /* we've detected a path component to our url */ + case '?': /* we've detected params component to our url */ inptr++; while (inptr < inend && is_urlsafe (*inptr) && *inptr != close_brace)