#25004 [Com]: Uploaded file name truncated if accent present

From: Date: Fri, 23 Jul 2004 19:12:50 +0000
Subject: #25004 [Com]: Uploaded file name truncated if accent present
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63437@lists.php.net to get a copy of this message
ID: 25004 Comment by: apinstein at mac dot com Reported By: spud at nothingness dot org Status: Bogus Bug Type: *Languages/Translation Operating System: RedHat 7.2 PHP Version: 4.3.2 New Comment: Actually, it seems that Safari has a problem uploading files with non-latin filenames. In Safari 1.2 (Panther) the file is SKIPPED entirely from the upload's POST data. In Safari pre-1.2, (Jaguar) the filename is mangled a bit. I am pretty sure this isn't a PHP problem, but if anyone knows how to set up the HTML form to allow this it'd be great for everyone to know! Previous Comments: ------------------------------------------------------------------------ [2004-07-23 21:12:44] apinstein at mac dot com Actually, it seems that Safari has a problem uploading files with non-latin filenames. In Safari 1.2 (Panther) the file is SKIPPED entirely from the upload's POST data. In Safari pre-1.2, (Jaguar) the filename is mangled a bit. I am pretty sure this isn't a PHP problem, but if anyone knows how to set up the HTML form to allow this it'd be great for everyone to know! ------------------------------------------------------------------------ [2004-07-23 21:11:44] apinstein at mac dot com Actually, it seems that Safari has a problem uploading files with non-latin filenames. In Safari 1.2 (Panther) the file is SKIPPED entirely from the upload's POST data. In Safari pre-1.2, (Jaguar) the filename is mangled a bit. I am pretty sure this isn't a PHP problem, but if anyone knows how to set up the HTML form to allow this it'd be great for everyone to know! ------------------------------------------------------------------------ [2003-08-11 11:34:45] spud at nothingness dot org Correction: the problem persists in PHP 4.3.3RC3 with the (mac) Safari browser, but works in (mac) IE 5.2.3. Until further browser testing, I'll consider this "bogus", assuming it's a browser issue with Safari only. ------------------------------------------------------------------------ [2003-08-11 11:27:16] spud at nothingness dot org Actually, the first rule of submitting a bug is "check the database first", but point taken. This problem still occurs with PHP 4.3.3RC3 on my machine, despite your results. See (http:// dev.dadaimc.org/test.php for test form and phpinfo() output) The CVS snapshot (php4-200308111530) refuses to make on my machine, generating an error near the end (see below), so I can't test the CVS version: /home/spud/src/php4-200308111530/ext/standard/ filestat.c:575: undefined reference to `php_check_open_basedir_ex' ------------------------------------------------------------------------ [2003-08-10 11:11:55] sniper@php.net Works fine with latest CVS (and with PHP 4.3.3RC3 too) Bogusing since you failed the first rule of submitting a bug report: Try the latest CVS snapshot first. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25004 -- Edit this bug report at http://bugs.php.net/?id=25004&edit=1

« previous php.bugs (#63437) next »