bugphpGroupWare - Bugs: bug #23604, filemanager should check _FILES...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #23604: filemanager should check _FILES upload error codes

Submitter:  Olivier Berger <olberger>
Submitted:  Mon 16 Jun 2008 11:58:16 AM UTC
   
 
Category:  filemanager Item Group:  0.9.16.012
Severity:  3 - Normal Priority:  7 - High
Status:  None Privacy:  Public
Assigned to:  Caeies Open/Closed:  Open
Component Version:  None Operating System:  GNU/Linux - Debian
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Mon 10 Nov 2008 01:56:48 AM UTC, comment #2: 

Over to Benoit

Dave Hall <skwashd>
Group administrator
Mon 16 Jun 2008 04:04:41 PM UTC, comment #1: 

Note that I'm not the author of the code testing the errors, as I borrowd it from :
http://fr3.php.net/manual/en/features.file-upload.errors.php#80575

I suppose there wouldn't be any copyright issue in reusing it, and if there may be better ways to express the same tests.

Olivier Berger <olberger>
Mon 16 Jun 2008 11:58:16 AM UTC, original submission:  

The _FILES uploaded files contains an error code (http://www.php.net/manual/en/features.file-upload.errors.php).

However, no check is made upon these errors, which results in files which seem to have been succesfully uploaded with 0 size.

The provided patch would test such errors and avoid some issues.

Olivier Berger <olberger>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #15852:  phpgroupware.patch added by olberger (1KiB - text/x-diff - proposed patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by skwashd (Posted a comment)
  • -email is unavailable- added by olberger (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-11-10 skwashd Assigned toNone Caeies
    2008-06-16 olberger Attached File- Added phpgroupware.patch, #15852

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code