#49190 [Opn]: PharData::convertToExecutable does not recognize filenames with multiple dots
ID: 49190 User updated by: alexander dot wahl at netlusive dot com Reported By: alexander dot wahl at netlusive dot com Status: Open Bug Type: PHAR related Operating System: Linux 2.6.26-2-amd64 PHP Version: 5.3.0 New Comment: email typo Previous Comments: [2009-08-07 14:23:26] alexander dot wahl at netlusive dot com Description: PharData::convertToExecutable does not recognize filenames with multiple dots, while creating the new archive. Everything from the first dot is ignored. Reproduce code: --- convertToExecutable(Phar::PHAR, Phar::NONE, '.phar'); } catch (Exception $e) { echo $e->getMessage(); } ?> Expected result: A new PHAR archive with the expected filename: test.one.two.phar Actual result: -- A new PHAR archive with the filename: test.phar -- Edit this bug report at http://bugs.php.net/?id=49190&edit=1
#49190 [NEW]: PharData::convertToExecutable does not recognize filenames with multiple dots
From: alexander dot wahl at netlusive dot com Operating system: Linux 2.6.26-2-amd64 PHP version: 5.3.0 PHP Bug Type: PHAR related Bug description: PharData::convertToExecutable does not recognize filenames with multiple dots Description: PharData::convertToExecutable does not recognize filenames with multiple dots, while creating the new archive. Everything from the first dot is ignored. Reproduce code: --- convertToExecutable(Phar::PHAR, Phar::NONE, '.phar'); } catch (Exception $e) { echo $e->getMessage(); } ?> Expected result: A new PHAR archive with the expected filename: test.one.two.phar Actual result: -- A new PHAR archive with the filename: test.phar -- Edit bug report at http://bugs.php.net/?id=49190&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49190&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49190&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49190&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49190&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49190&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49190&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49190&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49190&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49190&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49190&r=support Expected behavior: http://bugs.php.net/fix.php?id=49190&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49190&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49190&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49190&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49190&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=49190&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49190&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49190&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49190&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49190&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49190&r=mysqlcfg