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

Bug #18349 package.xml version not recognized when single quoted
Submitted: 2011-03-09 01:31 UTC
From: cweiske Assigned: dufuz
Status: Closed Package: PEAR (version 1.9.2)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2011-03-09 01:31 UTC] cweiske (Christian Weiske)
Description: ------------ If a package.xml file contains a the version single quoted, it is not recognized in PackageFile.php: > <package version='2.0' ... because of: > if (preg_match('/<package[^>]+version="([0-9]+\.[0-9]+)"/', $data, $packageversion)) {

Comments

 [2011-03-09 01:33 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Assigned To: +Assigned To: dufuz
 [2011-03-09 03:25 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. 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.