Edgewall Software

Ticket #5382 (new enhancement)

Opened 20 months ago

Last modified 2 weeks ago

base64 encoding/decoding breaks compatiblity with python2.3

Reported by: Nils Maier <MaierMan@…> Owned by: anonymous
Priority: highest Milestone: not applicable
Component: plugin/spamfilter Version: devel
Severity: normal 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@…> 20 months ago.
proposed patch, v1
gimpgroup.jpg (182.4 KB) - added by anonymous 3 weeks ago.

Change History

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

proposed patch, v1

  Changed 18 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 17 months ago by anonymous

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

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

  • status changed from closed to reopened
  • resolution fixed deleted

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

in reply to: ↑ 3   Changed 9 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 9 months ago by cboos

  • owner changed from anonymous to cboos

  Changed 4 months ago by anonymous

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

  Changed 4 months ago by osimons

  • status changed from closed to reopened
  • resolution fixed deleted

Please don't close as anonymous without explanation.

  Changed 2 months ago by anonymous

adfasfasdfa

  Changed 5 weeks ago by anonymous

  • type changed from defect to enhancement

Changed 3 weeks ago by anonymous

  Changed 2 weeks ago by anonymous

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

  Changed 2 weeks ago by anonymous

  • severity changed from major to normal

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 from anonymous. Next status will be 'new'
Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.