diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-07-09 10:07:14 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-07-09 10:07:14 +0200 |
commit | 2e6239bb9f44778646d52005399bbb0632fef058 (patch) | |
tree | 6bf761c2a5f57beda55c1569310e7ac908e0cb08 | |
parent | b5d7eb148c4cd62ff187b08765f0c13c7d330fcf (diff) | |
download | wallabag-2e6239bb9f44778646d52005399bbb0632fef058.tar.gz wallabag-2e6239bb9f44778646d52005399bbb0632fef058.tar.zst wallabag-2e6239bb9f44778646d52005399bbb0632fef058.zip |
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.
-rw-r--r-- | app/config/config.yml | 2 |
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 |