X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/af2e75616d1bfb7dc79d299d10ae0bd39bef47bc..29b37e9781ce1bb04e558c7490d2c29eb1a477e5:/cgit.c diff --git a/cgit.c b/cgit.c index ac882c3..0deae12 100644 --- a/cgit.c +++ b/cgit.c @@ -144,6 +144,8 @@ static void querystring_cb(const char *name, const char *value) ctx.qry.path = trim_end(value, '/'); } else if (!strcmp(name, "name")) { ctx.qry.name = xstrdup(value); + } else if (!strcmp(name, "mimetype")) { + ctx.qry.mimetype = xstrdup(value); } }