From d0b8b3b45f096e7ae6ccad08cfc3fa93e0b16cf7 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 4 Sep 2025 15:27:40 +0000 Subject: repo urls should be case insensitive --- shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared.c b/shared.c index a39394d..0a125ec 100644 --- a/shared.c +++ b/shared.c @@ -95,7 +95,7 @@ struct cgit_repo *cgit_get_repoinfo(const char *url) repo = &cgit_repolist.repos[i]; if (repo->ignore) continue; - if (!strcmp(repo->url, url)) + if (!strcasecmp(repo->url, url)) return repo; } return NULL; -- cgit v1.3.1-freya