Avelsieve Commit 851 and Authentication Method Case

Craig Shelley <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
Hello,

Avelsive commit 851 "Ignore case for Sieve capabilities list" also
causes authentication methods to also be converted to lower case eg
'plain' instead of 'PLAIN'
This makes authentication impossible over TLS with my setup.

Reverting commit 851 in addition to setting
$this->broken_tls = true;
As described here;
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547648
allows Avelsieve 1.9.9 to work with debian cyrus 2.2.13-14+lenny3


Regards,

Craig Shelley



Commit 851:
--- avelsieve/main_plugin/trunk/include/managesieve.lib.php
2007/04/11
10:36:59        850
+++ avelsieve/main_plugin/trunk/include/managesieve.lib.php
2007/04/11 10:41:42     851
@@ -2,7 +2,7 @@
 /**
  * sieve-php.lib.php
  *
- * $Id: managesieve.lib.php,v 1.11 2007/01/17 13:46:10 avel Exp $ 
+ * $Id: managesieve.lib.php,v 1.12 2007/04/11 10:41:42 avel Exp $ 
  *
  * Copyright 2001-2003 Dan Ellis <[email protected]>
  *
@@ -867,10 +867,10 @@
               $this->modules = split(' ', $this->item[1]);
               if(is_array($this->modules)){
                   foreach($this->modules as $m) {
-                      $this->capabilities[$cap_type][$m]=true;
+
$this->capabilities[$cap_type][strtolower($m)]=true;
                   }
               } elseif(is_string($this->modules)) {
-                  $this->capabilites[$cap_type][$this->modules]=true;
+
$this->capabilites[$cap_type][strtolower($this->modules)]=true;
               }
           } else { 
               $this->capabilities["unknown"][]=$this->line;

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAktCbGoACgkQ5OI9vmOoVqGw+ACgzV10vyE8FB8DwtsBDDrppa8j
KB8AoPkB2OXoqd5RWMqfjYCXDA91W8AL
=MY5d
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.