Changeset 582


Ignore:
Timestamp:
12/20/11 11:38:10 (11 years ago)
Author:
bas
Message:

urllib.quote can not handele unicode strings

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r580 r582  
    1010    Author: W. Martin Borgert" <debacle at debian dot org>
    1111    Applied by: Bas van der Vlies
     12
     13  * mailto link contained the wrong encoded subject line, charset was not
     14    stripped.
     15    Reported by: Walter Lioen (SARA)
     16    Fixed by: Bas van der Vlies
    1217
    13182.4.5
  • trunk/debian/changelog

    r580 r582  
    1 email2trac (2.4.6-1) stable; urgency=low
     1email2trac (2.4.6-2) stable; urgency=low
    22
    33  *  See Changelog
  • trunk/email2trac.py.in

    r581 r582  
    22222222        if not self.parameters.mailto_cc:
    22232223            self.parameters.mailto_cc = ''
     2224
     2225        ## Bug in urllib.quote function
     2226        #
     2227        if isinstance(subject, unicode):
     2228                subject = subject.encode('utf-8')
    22242229
    22252230        ## use urllib to escape the chars
Note: See TracChangeset for help on using the changeset viewer.