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:  libs Severity:  3 - Normal
Priority:  5 - Normal Item Group:  normal bugs
Status:  Works For Me Privacy:  Public
Assigned to:  Lukasz Marciniak <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

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");

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)
  •  

    Do you think this task is very important?
    If so, you can 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
    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.3