aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-07-11 07:30:30 +0200
committerGitHub <noreply@github.com>2017-07-11 07:30:30 +0200
commitc7fcca533d90f2c285b64ce7b2f1186273719fe7 (patch)
tree6940518fdc5539fc8212f5d58c7fdb109c6c3869
parent9aa11176b89ab99c267c1d2353ef645c817c941d (diff)
parent2e6239bb9f44778646d52005399bbb0632fef058 (diff)
downloadwallabag-c7fcca533d90f2c285b64ce7b2f1186273719fe7.tar.gz
wallabag-c7fcca533d90f2c285b64ce7b2f1186273719fe7.tar.zst
wallabag-c7fcca533d90f2c285b64ce7b2f1186273719fe7.zip
Merge pull request #3270 from wallabag/do-not-allow-html-api
Disallow html for API templating formats
-rw-r--r--app/config/config.yml2
1 files changed, 1 insertions, 1 deletions
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:
110 epub: true 110 epub: true
111 mobi: true 111 mobi: true
112 templating_formats: 112 templating_formats:
113 html: true 113 html: false
114 force_redirects: 114 force_redirects:
115 html: true 115 html: true
116 failed_validation: HTTP_BAD_REQUEST 116 failed_validation: HTTP_BAD_REQUEST