Resolved: (MODPYTHON-40) FieldStorage : don't stream file uploads to memory
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Resolved: (MODPYTHON-40) FieldStorage : don't stream file uploads to memory




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Resolved: (MODPYTHON-40) FieldStorage : don't stream file uploads to memory  
Nicolas Lehuen (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-06-05 07:45 AM

[ http://issues.apache.org/jira/brows...40?page=history ]

Nicolas Lehuen resolved MODPYTHON-40:
-------------------------------------

Resolution: Fixed
Fix Version: 3.2.0

Fix by Barry Pearce - see the python-dev archives on GMane (sorry, the messa
ge has not been indexed by GMane yet) for an explanation of the fixes.

> FieldStorage : don't stream file uploads to memory
> --------------------------------------------------
>
>          Key: MODPYTHON-40
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-40
>      Project: mod_python
>         Type: Bug
>     Versions: 3.1.4
>     Reporter: Nicolas Lehuen
>      Fix For: 3.2.0

>
> In mod_python.py/util.py, line 169, we stream a file upload to disk only i
f its Content-Disposition header features a filename attribute. Otherwise, t
he file is streamed to memory, thus opening a potential DoS attack by upload
ing very large files.
> We should :
> 1) Always stream file upload to disk
> 2) Define a default maximum file size which could be overridable.
> 3) Allow for the user to specify in which directory file uploads should be made, w
ith a default to a temporary directory / file.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:33 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register