[Web-cyradm] [bug #19571] Erroneous escape characters in sieve
protocol handling (FC6)
Marc
INVALID.NOREPLY at gnu.org
Tue Apr 10 22:21:47 CEST 2007
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: kalakuta at zonnet.nl
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/
More information about the Web-cyradm
mailing list