php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34146 it always occuered to upload file which name has space.
Submitted: 2005-08-16 09:57 UTC Modified: 2005-08-24 01:00 UTC
From: cm2 at romaji dot net Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 4.4.0 OS: Linux support 2.4.27-2-386
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cm2 at romaji dot net
New email:
PHP Version: OS:

 

 [2005-08-16 09:57 UTC] cm2 at romaji dot net
Description:
------------
When I upload any file which name has space( example. "test test.txt"),it occured system error.
it happened before executing php script,so I couldn't do noghing...

And I think it is a PHP 4.4.0's unique bug.
it never occured at PHP 4.3.6.


The uploaded file is small one ,and has no paticular point except having a name with space.




Reproduce code:
---------------
<?php
if($_POST["sub_btn"]){
  print "send file";
  exit();
}
?>
<!-- HTML -->

<form  enctype="multipart/form-data" method="post" action="qa.php">
<INPUT type="file" size="50" name="image_file1">
<INPUT name="sub_btn" type="submit" value="send file">
</form>



Expected result:
----------------
send file

/*
you must choose the file which name has space(ex. "t e.txt"
After you had submited, it occured system error.
*/



Actual result:
--------------
system error

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-16 10:13 UTC] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


What "system error" are you talking about?
 [2005-08-24 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 06:01:34 2024 UTC