bug in ignore plugin + patch to fix

Sadrul Habib Chowdhury imadil at gmail.com
Thu Oct 4 22:05:34 CDT 2007


> Subject: 	bug+fix ignore.c broken for screen names with spaces in them
> Date: 	Thu, 4 Oct 2007 12:06:34 -0400
> From: 	Keith Gabryelski <keith at gabryelski.com>
> To: 	plugins-devel at lists.guifications.org
> 
> the crashes seemed to occur because the preferences lookup routines
> couldn't find paths
> whose components had spaces in them.
> 

Could you please attach a backtrace of the crash, or alternately, file a
ticket in http://plugins.guifications.org/trac with the backtrace. I
couldn't reproduce a crash with the plugin, or by a white-space in a
preference name.

The plugin currently 'forgets' the ignore rules if you change the
display name of an AOL account, which also happens to be the username of
the account. The rule would also be lost if the buddy changed his
username. Both have the same fix: the screennames should be normalized
first before setting in the preference (AIM normalization removes the
whitespaces in a screenname). I have made the changes [1], and the fix
will be included in the next release. Thanks for bringing this in our
attention.

[1]
http://guifications.org/viewmtn/viewmtn.py/revision/info/681d60ed02dfb8cf095e35adbebede25da0dfb17

Cheers,
Sadrul



More information about the Plugins-devel mailing list