From 5aa6874fa28cb65568ac814e545892064d8e756b Mon Sep 17 00:00:00 2001 From: Zuul Date: Fri, 9 Sep 2022 13:10:05 +0000 Subject: [PATCH] Update git submodules * Update mistral from branch 'master' to 95e30947d7daf2756efd97cdabacdd6d1508ff6b - Merge "Do not guess content from extension on API" - Do not guess content from extension on API When getting a cron trigger (but also any other object) by name, pecan core will try to guess the content_type from the extension. While for most name, the guess will fail, it may succeed, e.g. when a name is ending with '.pl'. Pecan guess it as a perl file and then reject the call (with a 404 error). The fix is to tell pecan to not guess any content_type from extension by setting guess_content_type_from_ext to False on initialisation. Closes-Bug: 1987418 Signed-off-by: Arnaud Morin Change-Id: I1bc20b953787cae9b42d12bb5eb3c7a94ed4bbdd --- mistral | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mistral b/mistral index 3554581cbe..95e30947d7 160000 --- a/mistral +++ b/mistral @@ -1 +1 @@ -Subproject commit 3554581cbedc41b1d77462fe094c9aec97bd55ad +Subproject commit 95e30947d7daf2756efd97cdabacdd6d1508ff6b