From 2e6239bb9f44778646d52005399bbb0632fef058 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sun, 9 Jul 2017 10:07:14 +0200 Subject: Disallow html for templating formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using html template format will then put the html format in the allowed list for the api doc which we don’t want since the api doesn’t response for html format. --- app/config/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/config/config.yml b/app/config/config.yml index 2bc5e3b3..d37ed227 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -110,7 +110,7 @@ fos_rest: epub: true mobi: true templating_formats: - html: true + html: false force_redirects: html: true failed_validation: HTTP_BAD_REQUEST -- cgit v1.2.3