From 59937968bbf4f2c4cfa92891ba3d058420f08016 Mon Sep 17 00:00:00 2001 From: Jachym Cepicky Date: Wed, 31 Mar 2021 14:40:53 +0200 Subject: [PATCH] fixing #247 mixing format and mime_type --- lib/imageio_mixed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/imageio_mixed.c b/lib/imageio_mixed.c index 57ec3c2e..7d3c49a3 100644 --- a/lib/imageio_mixed.c +++ b/lib/imageio_mixed.c @@ -62,8 +62,8 @@ mapcache_image_format* mapcache_imageio_create_mixed_format(apr_pool_t *pool, format->transparent = transparent; format->opaque = opaque; format->alpha_cutoff = alpha_cutoff; - format->format.extension = apr_pstrdup(pool,"xxx"); - format->format.mime_type = NULL; + format->format.extension = apr_pstrdup(pool,"jpgpng"); + format->format.mime_type = apr_pstrdup(pool,"image/jpgpng"); format->format.write = _mapcache_imageio_mixed_encode; format->format.create_empty_image = transparent->create_empty_image; format->format.metadata = apr_table_make(pool,3);