[Rt-commit] r7668 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: lib/RT lib/RT/Interface/Email/Auth

clkao at bestpractical.com clkao at bestpractical.com
Tue Apr 24 07:20:27 EDT 2007


Author: clkao
Date: Tue Apr 24 07:20:25 2007
New Revision: 7668

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/   (props changed)
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Config.pm
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface/Email/Auth/GnuPGNG.pm

Log:
merge down for tunis.

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Config.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Config.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Config.pm	Tue Apr 24 07:20:25 2007
@@ -369,9 +369,9 @@
     return $res unless wantarray;
 
     if( $type eq 'ARRAY' ) {
-        return @{ $res };
+        return @{ $res || [] };
     } elsif( $type eq 'HASH' ) {
-        return %{ $res };
+        return %{ $res || {} };
     }
     return $res;
 }

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface/Email/Auth/GnuPGNG.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface/Email/Auth/GnuPGNG.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface/Email/Auth/GnuPGNG.pm	Tue Apr 24 07:20:25 2007
@@ -41,6 +41,9 @@
         return @args{qw(CurrentUser AuthLevel)};
     }
 
+    # FIXME: Check if the message is encrypted to the address of
+    # _this_ queue. send rejecting mail otherwise.
+
     unless ( $status ) {
         $RT::Logger->error("Had a problem during decrypting and verifying");
         my $reject = HandleErrors( Message => $args{'Message'}, Result => \@res );


More information about the Rt-commit mailing list