diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-06-06 01:59:46 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-07-20 23:52:55 +0200 |
| commit | 35ced95c363640c3f8cd86b60330fb68338101b8 (patch) | |
| tree | f06c46b023dcdf0d7c3b401a0ad75890508e6976 /handler.c | |
| parent | 0759122e4c7dd17af9f981040e44c747579478b6 (diff) | |
wildcard_cmp: Allow case-insensitive searches
The new search feature will require them.
Diffstat (limited to 'handler.c')
| -rw-r--r-- | handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ static int on_payload(const struct http_payload *const p, { const struct elem *const e = &h->elem[i]; - if (e->op == p->op && !wildcard_cmp(p->resource, e->url)) + if (e->op == p->op && !wildcard_cmp(p->resource, e->url, true)) return e->f(p, r, e->user); } |
