On Thu, Oct 31, 2013 at 2:34 PM, John Napiorkowski <jjn1...@yahoo.com>wrote:
> I'm currently recommending people take advantage of native PSGI support in > the newer Catalyst and use Middleware for when you need to munge and or > alter the response (if its being done globally). The interface is more > straightforward. > Do you think that Catalyst::Response should validate the location provided to redirect()? The issue that came up was a newline was ending up in the location provided which resulted in a split response<http://en.wikipedia.org/wiki/HTTP_response_splitting>. I was thinking of doing something like: $self->location( URI->new( $location )->as_string ); But with perhaps a bit more error handling. > > johnn > > > On Thursday, October 31, 2013 11:33 AM, Bill Moseley <mose...@hank.org> > wrote: > > On Thu, Oct 31, 2013 at 12:51 AM, Aristotle Pagaltzis <pagalt...@gmx.de>wrote: > > CatalystX::RoleApplicator > > > Thanks. That was what I was looking for. Just missed it when looking. > > > -- > Bill Moseley > mose...@hank.org > > _______________________________________________ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ > > > > _______________________________________________ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ > > -- Bill Moseley mose...@hank.org
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/