mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-29 06:16 am

[dw-free] http://bugs.dwscoalition.org/show_bug.cgi?id=1013

[commit: http://hg.dwscoalition.org/dw-free/rev/e8217b20c96a]

http://bugs.dwscoalition.org/show_bug.cgi?id=1013

Reenable ecphash requirement for post-from-email.

Patch by [personal profile] afuna.

Files modified:
  • cgi-bin/talklib.pl
--------------------------------------------------------------------------------
diff -r 8bcec436b07f -r e8217b20c96a cgi-bin/talklib.pl
--- a/cgi-bin/talklib.pl	Wed Apr 29 06:11:27 2009 +0000
+++ b/cgi-bin/talklib.pl	Wed Apr 29 06:16:06 2009 +0000
@@ -2881,7 +2881,9 @@ sub init {
     }
 
     my $cookie_auth;
-    if (($form->{'usertype'} eq "user") || 
+    # either we are posting from the comment email notification form 
+    # or we are posting from talkpost, as currently logged-in user
+    if ( ( $form->{usertype} eq "user" && exists $form->{ecphash} ) || 
         ($form->{'usertype'} eq "cookieuser")) {
         my $userpost = $form->{'userpost'} || $form->{'cookieuser'};
         $bmlerr->("$SC.error.lostcookie")
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org