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-06-06 03:48:50 +0200 |
| commit | 6e5c001c287c51c558f4dc255d7a130937bd4777 (patch) | |
| tree | f8ea7edb5fcc3a273f1097e81754ad81fc615e58 /handler.c | |
| parent | d4c8a8062ff722d7165f4b5faefe0f9b73d3738a (diff) | |
| download | slcl-6e5c001c287c51c558f4dc255d7a130937bd4777.tar.gz | |
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); } |
