[Mongrel] Patch for X-SendFile on Windows

Evan Weaver evan at cloudbur.st
Thu Oct 25 17:18:25 EDT 2007


I'm already on it.

Evan

On 10/25/07, Wayne E. Seguin <wayneeseguin at gmail.com> wrote:
> On 10/24/07, Clifford Heath <clifford.heath at gmail.com> wrote:
> > A new TRAC entry with patch has been added (initially for Camping)
> > to allow X-SendFile on Windows to use DirHandler to send files on
> > drives other than the current drive, if the DirHandler base path is "/"
> > (which is the way Camping uses DirHandler).
> >
> > As it was, "/" gets expanded to "C:/", and then you can't serve files
> > on any other drive, which I needed to do recently. And, in fact, you
> > can't serve any files with absolute paths, because the C:/ gets
> > prepended to your path, giving C:/C:/path/to/my/file... broken :-).
> >
> > It's about four lines of changed code - see the TRAC entry for the
> > patch:
> > <http://rubyforge.org/tracker/index.php ?
> > func=detail&aid=15009&group_id=1306&atid=5145>
> >
> > Clifford Heath, Data Constellation.'
>
> Thank you for the patch Clifford, we will review as soon as possible.
>
> Thanks again,
>   ~Wayne
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>


-- 
Evan Weaver
Cloudburst, LLC


More information about the Mongrel-users mailing list