com php-src: Fixed Bug #65467: NEWS ext/phar/phar/pharcommand.inc
| From: | Michael Wallner | Date: | Mon, 30 Mar 2015 13:39:30 +0000 |
| Subject: | com php-src: Fixed Bug #65467: NEWS ext/phar/phar/pharcommand.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85943@lists.php.net to get a copy of this message | ||
Commit: 6de25c155e3a90c273af311d71298ec88ac61833
Author: Michael Wallner <mike@php.net> Mon, 30 Mar 2015 15:39:30 +0200
Parents: 8f7e378b9f2fb4f2bb5605d9440d7d34bee6978a
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6de25c155e3a90c273af311d71298ec88ac61833
Log:
Fixed Bug #65467
Call to undefined method cli_arg_typ_string
Use cli_arg_typ_filecontent instead.
Bugs:
https://bugs.php.net/65467
Changed paths:
M NEWS
M ext/phar/phar/pharcommand.inc
Diff:
diff --git a/NEWS b/NEWS
index f073c9c..5994c45 100644
--- a/NEWS
+++ b/NEWS
@@ -42,6 +42,7 @@ PHP NEWS
- Phar:
. Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar).
(Mike)
+ . Fixed bug #65467 (Call to undefined method cli_arg_typ_string). (Mike)
. Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing
".tar"). (Mike)
diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc
index cb34367..a58a9f0 100644
--- a/ext/phar/phar/pharcommand.inc
+++ b/ext/phar/phar/pharcommand.inc
@@ -397,7 +397,7 @@ class PharCommand extends CLICommand
*/
static function cli_arg_typ_privkey($arg, $cfg, $key)
{
- $arg = self::cli_arg_typ_string($arg, $cfg, $key);
+ $arg = self::cli_arg_typ_filecont($arg, $cfg, $key);
$hash_avail = Phar::getSupportedSignatures();
if ($arg && !in_array('OpenSSL', $hash_avail))