Commit Graph

14 Commits

Author SHA1 Message Date
Daniel Folkinshteyn
e23bd93ded Secure some more commands which take a regexp from untrusted user input.
Namely todo.search, note.search, dunno.search.
2011-08-12 18:13:27 -04:00
James Vega
8baf08b882 Handle changes to fnmatch.translate in Python 2.6
Define utils.python.glob2re based on the Python version being used.
Use glob2re in Todo and Note plugins.

Closes: Sf#3059292
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit b0575cec88)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-10-10 17:38:08 -04:00
James Vega
288d7c6e02 Update plugins to ignore all non-ACTION CTCP messages.
Also update commands.urlSnarfer to do the same, which allows us to revert
"Don't bother snarfing URLs from non-Action CTCP messages."

This reverts commit 3282e3407e.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-01-28 08:14:44 -05:00
Štěpán Němec
a693162059 Note plugin: Fix erroneous use of __contributors__.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 15:43:10 -04:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega
9a68ef22c1 plugins/Note: Fix a test failure. 2005-05-11 00:57:30 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega
2aded9511d Add a test for Note.next 2005-03-21 16:38:05 +00:00
Sune Foldager
7cf0728633 Added a 'next' command. 2005-02-04 15:44:53 +00:00
Sune Foldager
d5c279e604 Changed % into format in output strings. 2005-02-04 15:43:23 +00:00
Jeremy Fincher
1f49fc1e3e Some small refactorings, fixed a problem in unsend. 2005-03-09 10:43:01 +00:00
Jeremy Fincher
b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
Jeremy Fincher
6e28d31131 Removed unused and broken import. 2005-02-02 12:54:05 +00:00
Jeremy Fincher
dab8974efa Added Note in the new plugin format. 2005-02-02 07:33:19 +00:00