Updated: (MODPYTHON-84) req.sendfile(filename) sends an
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 > Updated: (MODPYTHON-84) req.sendfile(filename) sends an




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

    Updated: (MODPYTHON-84) req.sendfile(filename) sends an  
Graham Dumpleton (JIRA)


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


 
08-08-06 06:14 AM

[ http://issues.apache.org/jira/brows...HON-84?page=all ]

Graham Dumpleton updated MODPYTHON-84:
--------------------------------------

Fix Version/s: 3.3
3.2.10
(was: 3.2.8)

> req.sendfile(filename) sends an incorrect number of bytes when filename is
 a symlink
> --------------------------------------------------------------------------
----------
>
>                 Key: MODPYTHON-84
>                 URL: http://issues.apache.org/jira/browse/MODPYTHON-84
>             Project: mod_python
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.1.4, 3.1.3, 3.2.7
>            Reporter: Jim Gallacher
>         Assigned To: Graham Dumpleton
>             Fix For: 3.3, 3.2.10
>
>
> This issue was reported by Wim Heirman on the mod_python list:
> When req.sendfile(filename) is called where filename is a symbolic link, only part
 of the file is sent to the client (as many bytes as there are characters in the sym
link's file reference, so for a symlink pointing to '../index.html'  returns the fir
st
13 bytes of the correct file).
> Wim suggested changing APR_READ to APR_FINFO_NORM in the apr_stat call in req_send
file().






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:20 AM.      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