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


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

Submitted by:  Marc <mdx>
Submitted on:  Tue 10 Apr 2007 08:21:46 PM UTC  
Category: libsSeverity: 3 - Normal
Priority: 5 - NormalItem Group: normal bugs
Status: Works For MePrivacy: Public
Assigned to: Lukasz Marciniak <landm>Originator Name: mdx
Open/Closed: OpenRelease: 0.5.5
Operating System: NoneReproducibility: Every Time
Planned Release: 0.5.5Cyrus IMAP version: 2.2.x
PHP version: 5.0Database type: MySQL 4.1

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

In 0.5.5 it was fixed already.

Lukasz Marciniak <landm>
Project MemberIn charge of this item.
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");


-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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Apr 2007 06:53:04 AM UTClandmStatusNone=>Works For Me
      Assigned toNone=>landm
      Planned ReleaseNone=>0.5.5

    Back to the top

    Powered by Savane 3.1-cleanup1