« Return to Thread: Incorrect $c->req->base using Catalyst::Engine::SCGI on Win32

Re: Re: Incorrect $c->req->base using Catalyst::Engine::SCGI on Win32

by Tomas Doran :: Rate this Message:

Reply to Author | View in Thread


On 28 Jun 2009, at 20:41, Orlando Vazquez wrote:
> I'm the one who was responsible for removing the prepare_path method
> from the SCGI engine. I did this because it was overriding with an
> outdated verbatim copy of the prepare_path method in C::E::CGI, which
> ::SCGI inherits from.  Hmmm, ::FastCGI seems to include its own
> additional path fixes :\ Does it make sense to unify these tweaks in
> one place?

Yes, assuming that the behavior SCGI sees is the same as FastCGI - I  
guess the current _fix_env method in the core FCGI engine could just  
be pulled out into a role you could reuse.

If you think reusing it is worthwhile / possible, please feel free to  
patch -Runtime to make that easy for you :)

Cheers
t0m


_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

 « Return to Thread: Incorrect $c->req->base using Catalyst::Engine::SCGI on Win32