Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.5

Bug #2728 Linebreaks not being read using getScript()
Submitted: 2004-11-10 09:41 UTC
From: matthew at de-construct dot com Assigned: damian
Status: Closed Package: Net_Sieve
PHP Version: 4.3.2 OS: Linux
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 49 - 5 = ?

 [2004-11-10 09:41 UTC] matthew at de-construct dot com
Description: ------------ in version 1.0.1 of Net_Sieve, i'm using getScript() to retrieve a specific sieve script from the mailserver. whilst it returns the contents of the script accurately, the content of the actual body of items enclosed in quotation marks (see sieve script below) is returned without linebreaks. Sieve Script: require "vacation"; vacation :days 7 :addresses [""] :subject "This is a test" "I'm on my holiday! sadfafs"; Reproduce code: --------------- $script = $sieve->getScript('vacation.msg'); print $script; Expected result: ---------------- expect to see the script as it is in the sieve script file (see description) Actual result: -------------- require "vacation"; vacation :days 7 :addresses [""] :subject "This is a test" "I'm on my holiday! sadfafs"; (note the lack of linebreak after 'holiday!'


 [2004-12-05 18:01 UTC] damian
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at