Tk Library Source Code

View Ticket
Login
Ticket UUID: 1642275
Title: word_encode bombs on empty input
Type: Bug Version: None
Submitter: totschnig Created on: 2007-01-23 08:40:10
Subsystem: mime Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-01-26 00:23:10
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2007-01-25 17:23:10
Description:
since the last commit of file mime.tcl (CVS Head, 1.54), the function word_encode bomps on empty strings.
Attached patch fixes it, supposed that it is the right thing to return an empty string on an empty input.
User Comments: andreas_kupries added on 2007-01-26 00:23:10:
Logged In: YES 
user_id=75003
Originator: NO

Thanks Michael. This has been fixed now in the CVS.

2007-01-22  Andreas Kupries  <[email protected]>

* mime.tcl (word_encode): Ensured the return of the empty string
  when given the empty string.

totschnig added on 2007-01-23 15:40:12:

File Added - 212655: mime.tcl.patch

Attachments: