Apache Mod-Python - Closed: (MODPYTHON-84) req.sendfile(filename) sends an

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > April 2007 > Closed: (MODPYTHON-84) req.sendfile(filename) sends an





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2007-04-02, 7:13 am


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Graham Dumpleton closed MODPYTHON-84.
-------------------------------------


> req.sendfile(filename) sends an incorrect number of bytes when filename is a symlink
> ------------------------------------------------------------------------------------
>
> Key: MODPYTHON-84
> URL: https://issues.apache.org/jira/browse/MODPYTHON-84
> Project: mod_python
> Issue Type: Bug
> Components: core
> Affects Versions: 3.1.3, 3.1.4, 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 symlink's file reference, so for a symlink pointing to '../index.html' returns the first

13 bytes of the correct file).
> Wim suggested changing APR_READ to APR_FINFO_NORM in the apr_stat call in req_sendfile().


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com