Bug #55498 [Opn->Fbk]: filename bug
| From: | laruence@php.net | Date: | Wed, 24 Aug 2011 09:59:53 +0000 |
| Subject: | Bug #55498 [Opn->Fbk]: filename bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162899@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55498&edit=1
ID: 55498
Updated by: laruence@php.net
Reported by: time2t at naver dot com
Summary: filename bug
-Status: Open
+Status: Feedback
Type: Bug
Package: Built-in web server
Operating System: windows
PHP Version: 5.4.0alpha3
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-08-24 09:59:37] laruence@php.net
I don't think 5.3.8 has webserver built-in, should be 5.4.0
and this is dup to #55484(since this report is more clearly, I will mark 55484
as dup).
at last I can't reproduce this in Linux with php-5.4.0-trunk, can you try with
the snapshot
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2011-08-24 08:09:19] time2t at naver dot com
Description:
------------
<html>
<head>
</head>
<body>
<form name=fboardform method=post action="?"
enctype="multipart/form-data">
<input type=text class=ed name=bo_subject size=60 maxlength=120 value=''>
<br />
<select name='gr_id'>
<option value='asas'>asas</option>
</select><br />
<input type=file name="bo_image_head" class=ed size=60><br />
<input type=submit class=btn1 accesskey='s' value=' submit '>
</form>
<?
print_r($_FILES);
?>
</body>
</html>
-----------------------------
POST file name test.msi
-----------------------------
Array
(
[bo_image_head] => Array
(
[name] => est.msi
[type] => application/octet-stream
[tmp_name] => D:\server\tmp\php711.tmp
[error] => 0
[size] => 664576
)
)
-----------------------------
[name] => est.msi <-- test.msi bug
original file name test.msi ??
Test script:
---------------
-----------------------------
POST file name test.msi
-----------------------------
Array
(
[bo_image_head] => Array
(
[name] => est.msi
[type] => application/octet-stream
[tmp_name] => D:\server\tmp\php711.tmp
[error] => 0
[size] => 664576
)
)
-----------------------------
[name] => est.msi <-- test.msi bug
original file name test.msi ??
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55498&edit=1