Re: [Catalyst] JSONP support Catalyst::Controller::DBIC::API

2017-03-17 Thread Rajesh Kumar Mallah
Thanks for clarifying . I shall try to see and explore. regds mallah. > If someone wants JSONP support, yes. > > Best regards, Alex > > > On 2017-03-16 18:07, Rajesh Kumar Mallah wrote: >> >> >> >> Ok are you suggesting DBIC::API needs to be enhanced for >> JSONP support ? >> >> >> Regds >>

Re: [Catalyst] JSONP support Catalyst::Controller::DBIC::API

2017-03-17 Thread Hartmaier Alexander
If someone wants JSONP support, yes. Best regards, Alex On 2017-03-16 18:07, Rajesh Kumar Mallah wrote: Ok are you suggesting DBIC::API needs to be enhanced for JSONP support ? Regds Mallah. Looks like a code injection attack vector to me... Patch + Tests for DBIC::API welcome! On

Re: [Catalyst] JSONP support Catalyst::Controller::DBIC::API

2017-03-16 Thread Rajesh Kumar Mallah
Ok are you suggesting DBIC::API needs to be enhanced for JSONP support ? Regds Mallah. > Looks like a code injection attack vector to me... > > Patch + Tests for DBIC::API welcome! > > > On 2017-03-09 11:05, Rajesh Kumar Mallah wrote: >> >> >> >> For the time being i have modified and

Re: [Catalyst] JSONP support Catalyst::Controller::DBIC::API

2017-03-14 Thread Hartmaier Alexander
Looks like a code injection attack vector to me... Patch + Tests for DBIC::API welcome! On 2017-03-09 11:05, Rajesh Kumar Mallah wrote: For the time being i have modified and solved my issue as below: sub end : Private { my ( $self, $c ) = @_; ## # code for manipulating

Re: [Catalyst] JSONP support Catalyst::Controller::DBIC::API

2017-03-09 Thread Rajesh Kumar Mallah
For the time being i have modified and solved my issue as below: sub end : Private { my ( $self, $c ) = @_; ## # code for manipulating stash here ## $c->forward('serialize'); my $cb = $c->request->params->{callback} ; if ($cb) { my $body =