bugweb-cyradm - Bugs: bug #19571, Erroneous escape characters in...

 
 

bug #19571: Erroneous escape characters in sieve protocol handling (FC6)

Submitter:  Marc <mdx>
Submitted:  Tue 10 Apr 2007 08:21:46 PM UTC
   
 
Category:  libs Severity:  3 - Normal
Priority:  5 - Normal Item Group:  normal bugs
Status:  Works For Me Privacy:  Public
Assigned to:  landm Originator Name:  * mdx
Open/Closed:  Open Release:  0.5.5
Operating System:  None Reproducibility:  Every Time
Planned Release:  0.5.5 Cyrus IMAP version:  2.2.x
PHP version:  5.0 Database type:  MySQL 4.1
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 16 Apr 2007 06:53:04 AM UTC, comment #1: 

In 0.5.5 it was fixed already.

Lukasz Marciniak <landm>
Group Member
Tue 10 Apr 2007 08:21:46 PM UTC, original submission:  

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.

Marc <mdx>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by landm (Posted a comment)
  • -email is unavailable- added by mdx (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-16 landm StatusNone Works For Me
        PrivacyPrivate Public
        Assigned toNone landm
        Planned ReleaseNone 0.5.5

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code