From: Jérémy Benoist Date: Tue, 11 Jul 2017 05:30:30 +0000 (+0200) Subject: Merge pull request #3270 from wallabag/do-not-allow-html-api X-Git-Tag: 2.3.0~31^2~40 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c7fcca533d90f2c285b64ce7b2f1186273719fe7;hp=9aa11176b89ab99c267c1d2353ef645c817c941d;p=github%2Fwallabag%2Fwallabag.git Merge pull request #3270 from wallabag/do-not-allow-html-api Disallow html for API templating formats --- 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