]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #3270 from wallabag/do-not-allow-html-api
authorJérémy Benoist <j0k3r@users.noreply.github.com>
Tue, 11 Jul 2017 05:30:30 +0000 (07:30 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Jul 2017 05:30:30 +0000 (07:30 +0200)
Disallow html for API templating formats

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