All paths here are relative to the directory which the plugin tarball is unzipped in.
Edit Register.pm-4.1.2.patch. Change the reference to "$topic" on line 27 to read "$session->{topicName}". Diff format below:
diff -r 1.5-pre3/Register.pm-4.1.2.patch 1.6/Register.pm-4.1.2.patch
27c27
< + topic => $topic,
---
> + topic => $session->{topicName},
Edit lib/TWiki/Plugins/CaptchaPlugin.pm - add the $ before debug. This is a very large source of error log spam, and generates one or two lines for
every single topic view on my system.
diff -r 1.5-pre3/lib/TWiki/Plugins/CaptchaPlugin.pm 1.6/lib/TWiki/Plugins/CaptchaPlugin.pm
149c149
< TWiki::Func::writeDebug(" expiring") if debug;
---
> TWiki::Func::writeDebug(" expiring") if $debug;
I guess you can put me down as a "Maintainer lite" for this plugin. If someone else later on would like to maintain it, they can have it. But as long as it's understood that I may get around to fixing things with it or may not, it may be marginally better than a completely vacant maintainer role.
--
TWiki:Main/SeanNewton
- 2011-08-31
Another fix for errors in the log, also in
CaptchaPlugin.pm:
diff -r 1.5-pre3/lib/TWiki/Plugins/CaptchaPlugin.pm 1.6/lib/TWiki/Plugins/CaptchaPlugin.pm
224c224
< $hash=Digest::MD5->md5_hex($txt.time().rand());
---
> $hash=Digest::MD5::md5_hex($txt.time().rand());
--
TWiki:Main.SeanNewton
- 2011-11-29
Thanks Sean! Hopefully someone will pick this up soon.
--
TWiki:Main.PeterThoeny
- 2011-11-30