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

Bug #12385 Bad regex when replacing css style attachments
Submitted: 2007-11-05 11:23 UTC Modified: 2008-03-22 13:19 UTC
From: raszi Assigned: cipri
Status: Closed Package: Mail_Mime (version 1.5.2)
PHP Version: 5.2.4 OS: Gentoo Linux
Roadmaps: 1.5.3    
Subscription  


 [2007-11-05 11:23 UTC] raszi (Istv├ín Karaszi)
Description: ------------ wrong line: $rep[] = 'url(\1cid:' . $value['cid'] . '\2)'; good: line $rep[] = 'url(\1cid:' . $value['cid'] . '\1)'; Test script: --------------- Expected result: ---------------- .className { background-image: url('cid:81ef37f4c8790ea2d8cd547635322a3f'); } Actual result: -------------- .className { background: url('cid:81ef37f4c8790ea2d8cd547635322a3f); }

Comments

 [2008-03-22 13:19 UTC] cipri (Cipriano Groenendal)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Yes, you're right, the existing regexp doesn't place the closing quote (' or ") back after the cid:<string>. Fixed in CVS