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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
48 - 1 = ?
Subscribe to this entry?

 
 [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 Jun 17 17:01:29 2024 UTC