URL:
  <http://savannah.nongnu.org/bugs/?19571>

                 Summary: Erroneous escape characters in sieve protocol
handling (FC6)
                 Project: web-cyradm
            Submitted by: mdx
            Submitted on: Tuesday 04/10/2007 at 20:21
                Category: libs
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: normal bugs
                  Status: None
                 Privacy: Private
             Assigned to: None
         Originator Name: mdx
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.5.5
        Operating System: None
         Reproducibility: Every Time
         Planned Release: None
      Cyrus IMAP version: 2.2.x
             PHP version: 5.0
           Database type: MySQL 4.1

    _______________________________________________________

Details:

To get the vacation scripts working, I had to modify lib/sieve-php.lib:

-fputs($this->fp, "AUTHENTICATE \"PLAIN\" \{$this->len+}\r\n");
+fputs($this->fp, "AUTHENTICATE \"PLAIN\" {" . $this->len . "+}\r\n");

and

-fputs($this->fp, "PUTSCRIPT \"$scriptname\" \{$len+}\r\n");
+fputs($this->fp, "PUTSCRIPT \"$criptname\" {" . $len . "+}\r\n");

At least, the { is escaped whereas the } is not, but it looked like removing
the backslash dit not completely solve the problem, and separating the len
and the + did help finally.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19571>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[EMAIL PROTECTED]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to