]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Disallow html for templating formats 3270/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 9 Jul 2017 08:07:14 +0000 (10:07 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 9 Jul 2017 08:07:14 +0000 (10:07 +0200)
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.

app/config/config.yml

index 2bc5e3b359292de4e5ff477d2fc976b81ab484f0..d37ed227b4db44e6937b3bd3c4d9639f0c2ae75c 100644 (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