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

 
 

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

bug #23604: filemanager should check _FILES upload error codes

Submitted by:  Olivier Berger <olberger>
Submitted on:  Mon 16 Jun 2008 11:58:16 AM UTC  
 
Item Group: 0.9.16.012Category: filemanager
Severity: 3 - NormalPriority: 7 - High
Status: NonePrivacy: Public
Assigned to: Caeies <Caeies>Open/Closed: Open
Component Version: NoneOperating System: GNU/Linux - Debian
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

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

Over to Benoit

Dave Hall <skwashd>
Project 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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 10 Nov 2008 01:56:48 AM UTCskwashdAssigned toNone=>Caeies
    Mon 16 Jun 2008 11:58:16 AM UTColbergerAttached File-=>Added phpgroupware.patch, #15852

    Back to the top


    Powered by Savane 3.1-cleanup