Merge pull request #3270 from wallabag/do-not-allow-html-api

Disallow html for API templating formats
This commit is contained in:
Jérémy Benoist 2017-07-11 07:30:30 +02:00 committed by GitHub
commit c7fcca533d

View file

@ -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