• Arnaud Fontaine's avatar
    Zope 4.x: Fix OFS.Image PUT() for Python 2 (#1015). · 8cd7a917
    Arnaud Fontaine authored
    This fixes failures in erp5_dms:testWebDavSupport.
    
      Traceback (innermost last):
        [...]
        Module Products.ERP5Type.patches.OFSImage, line 94, in PUT
          return PUT_orig(self, REQUEST, RESPONSE)
        Module OFS.Image, line 665, in PUT
          data = data.encode('UTF-8')
      UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 10: ordinal not in range(128)
    8cd7a917
buildout.cfg 21.5 KB