Commit d72934e8 by Ivan Tyagov

Bypass script that disables raster -> svg conversion for bigger images.

1 parent 37491d48
......@@ -722,6 +722,9 @@ return True
self.assertEquals(response.getHeader('content-type'), 'image/jpeg')
# testing Image conversions, svg
# disable Image permissiions checks format checks
createZODBPythonScript(portal.portal_skins.custom, 'Image_checkConversionFormatPermission',
'**kw', 'return 1')
response = self.publish(website.absolute_url_path() + '/' +\
image_reference + '?format=svg', credential)
self.assertEquals(response.getHeader('content-type'), 'image/svg+xml')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!