Bug #70091 [Com]: PHAR can't make a zip when one file contain the é letter

From: Date: Wed, 22 Jul 2015 09:26:32 +0000
Subject: Bug #70091 [Com]: PHAR can't make a zip when one file contain the é letter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194606@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70091&edit=1 ID: 70091 Comment by: d dot dussouillez at 2n-tech dot com Reported by: david dot vantyghem at free dot fr Summary: PHAR can't make a zip when one file contain the é letter Status: Open Type: Bug Package: PHAR related Operating System: Linux Mint MATE 17.2 PHP Version: 5.5Git-2015-07-17 (Git) Block user comment: N Private report: N New Comment: Same here (PHP 5.6.6, linux) : exception 'BadMethodCallException' with message 'Entry modules/Medicnet - Le sp�cialiste de la vente en ligne de mat�riel m�dical.URL cannot be created: phar error: invalid path "modules/Medicnet - Le sp�cialiste de la vente en ligne de mat�riel m�dical.URL" contains illegal character' Previous Comments: ------------------------------------------------------------------------ [2015-07-17 06:57:35] david dot vantyghem at free dot fr Description: ------------ Fatal error: Uncaught exception 'BadMethodCallException' with message 'Entry Cliquez ici pour démarrer COMPILIBRE.bat cannot be created: phar error: invalid path "Cliquez ici pour démarrer COMPILIBRE.bat" contains illegal character' in /home/david/Documents/logiciels/COMPILIBRE/SourceForge Code/COMPILIBRE-source/COMPILIBRE/compilation.php:271 Stack trace: #0 /home/david/Documents/logiciels/COMPILIBRE/SourceForge Code/COMPILIBRE-source/COMPILIBRE/compilation.php(271): PharData->buildFromDirectory('compilations/1') #1 {main} thrown in /home/david/Documents/logiciels/COMPILIBRE/SourceForge Code/COMPILIBRE-source/COMPILIBRE/compilation.php on line 271 Test script: --------------- // Create the zip file $phar = new PharData("compilations/".az09_($compilation_name).".".$compilation_key.".zip"); $phar->buildFromDirectory("compilations/".$compilation_key); Name of the file that causes the error : "Cliquez ici pour démarrer COMPILIBRE.bat" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70091&edit=1

« previous php.bugs (#194606) next »