Fix for #748. Turn on autoescape for S3 templates. (#779)

This commit is contained in:
Tom V 2016-12-03 23:13:24 +00:00 committed by Steve Pulec
commit c54985a39f
4 changed files with 15 additions and 0 deletions

View file

@ -38,6 +38,10 @@ class ResponseObject(_TemplateEnvironmentMixin):
super(ResponseObject, self).__init__()
self.backend = backend
@property
def should_autoescape(self):
return True
def all_buckets(self):
# No bucket specified. Listing all buckets
all_buckets = self.backend.get_all_buckets()