From: Jeremy Benoist Date: Sun, 9 Jul 2017 08:07:14 +0000 (+0200) Subject: Disallow html for templating formats X-Git-Tag: 2.3.0~31^2~40^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=2e6239bb9f44778646d52005399bbb0632fef058;p=github%2Fwallabag%2Fwallabag.git Disallow html for templating formats 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. --- 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