Edgewall Software

Ticket #5382 (new defect)

Opened 14 months ago

Last modified 4 months ago

base64 encoding/decoding breaks compatiblity with python2.3

Reported by: Nils Maier <MaierMan@…> Owned by: cboos
Priority: highest Milestone: not applicable
Component: plugin/spamfilter Version: devel
Severity: major Keywords: binary content
Cc:

Description

r5390/#4087 breaks compatibility with python2.3, as there doesn't seem to be a unicode.decode method.

Patch attached (don't know if this is the best solution though, but works for me at least).
Decoding content via str() should be safe (base64 ;)).

Attachments

trac-spamfilter-b64decode.diff (0.6 kB) - added by Nils Maier <MaierMan@…> 14 months ago.
proposed patch, v1

Change History

Changed 14 months ago by Nils Maier <MaierMan@…>

proposed patch, v1

  Changed 13 months ago by cboos

  • keywords binary content added
  • owner changed from mgood to cboos
  • severity changed from blocker to major
  • milestone set to not applicable

Thanks for the patch.

This code really starts to become scary ;-) We should really think about a better way to store binary content.

  Changed 11 months ago by anonymous

  • status changed from new to closed
  • resolution set to fixed

follow-up: ↓ 4   Changed 11 months ago by ecarter

  • status changed from closed to reopened
  • resolution deleted

This ticket should probably not be closed. Especially by anonymous without any explanation.

in reply to: ↑ 3   Changed 4 months ago by anonymous

  • owner changed from cboos to anonymous
  • status changed from reopened to new

Replying to ecarter:

This ticket should probably not be closed. Especially by anonymous without any explanation.

  Changed 4 months ago by cboos

  • owner changed from anonymous to cboos

Add/Change #5382 (base64 encoding/decoding breaks compatiblity with python2.3)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.