From f043ec32d13fbd25a7e3901da64bbdb710ceac84 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 21 Mar 2022 12:46:56 +0100 Subject: [PATCH] Thunderbird 91+ seems to send Accept: XML when doing any query We only accept ICS, so it didn't work. Closes #1019 Signed-off-by: Thomas Citharel --- lib/web/router.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web/router.ex b/lib/web/router.ex index e4f0234b..5875b889 100644 --- a/lib/web/router.ex +++ b/lib/web/router.ex @@ -58,7 +58,7 @@ defmodule Mobilizon.Web.Router do pipeline :atom_and_ical do plug(:put_secure_browser_headers) - plug(:accepts, ["atom", "ics", "html"]) + plug(:accepts, ["atom", "ics", "html", "xml"]) end pipeline :exports do