forked from wallabag/wallabag
Merge pull request #3270 from wallabag/do-not-allow-html-api
Disallow html for API templating formats
This commit is contained in:
@ -110,7 +110,7 @@ fos_rest:
|
|||||||
epub: true
|
epub: true
|
||||||
mobi: true
|
mobi: true
|
||||||
templating_formats:
|
templating_formats:
|
||||||
html: true
|
html: false
|
||||||
force_redirects:
|
force_redirects:
|
||||||
html: true
|
html: true
|
||||||
failed_validation: HTTP_BAD_REQUEST
|
failed_validation: HTTP_BAD_REQUEST
|
||||||
|
|||||||
Reference in New Issue
Block a user