Sorry nice_guy. I will try to look into this very soon so you can move
on with your app. In the meantime, you can consider setting up a
development version of server files where you can selectively disable
request validation in case issues like this come up again. (You should
definitely continue to validate requests in your production
applications, however.)

- Jason

On Sep 8, 4:12 am, nice_guy <[EMAIL PROTECTED]> wrote:
> Hi Jason,
>
> Did you get a chance to look at it?? I cannot add a new feature in my
> application because of this issue. Please let me know.
>
> Thanks
>
> On Sep 6, 2:35 pm, nice_guy <[EMAIL PROTECTED]> wrote:
>
> > var data = {field1:field1_inp, field2: field2_inp};
> > var params = {};
> > params[gadgets.io.RequestParameters.CONTENT_TYPE] =
> > gadgets.io.ContentType.TEXT;
> > params[gadgets.io.RequestParameters.AUTHORIZATION] =
> > gadgets.io.AuthorizationType.SIGNED;
> > params[gadgets.io.RequestParameters.METHOD] =
> > gadgets.io.MethodType.POST;
> > postdata = gadgets.io.encodeValues(data);
> > params[gadgets.io.RequestParameters.POST_DATA] = postdata;
>
> > makeCachedRequest(url,
> >                         function (response)
> >                         {}
> >                         , params, 5000);
>
> > The requests fail when  field1 is > ~8000 characters but the same
> > requests work fine when field1 is < ~8000 characters
>
> > Allsignedrequests are working fine on my applications except the
> > condition above. Please let me know if you need more information.
>
> > On Sep 5, 4:45 pm, Jason <[EMAIL PROTECTED]> wrote:
>
> > > Can you provide an example of the "large" POST data you're trying to
> > > send? Once I have this (or, better yet, your entire makeRequest
> > > snippet including the parameter object), I'll try to reproduce the
> > > issue on my end.
>
> > > Is your validation working on other requests?
>
> > > - Jason
>
> > > On Sep 4, 11:14 am, nice_guy <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I am trying to sendSIGNEDPOST requests withlargevalues but the
> > > > signature verification on server side fails i.e. the following code
> > > > snippet results in false.
>
> > > >   //Build a request object from the current request
> > > >   $request = OAuthRequest::from_request(null, null, array_merge($_GET,
> > > > $_POST));
>
> > > >   //Initialize the new signature method
> > > >   $signature_method = new OrkutSignatureMethod();
>
> > > >   //Check the request signature
> > > >   @$signature_valid = $signature_method->check_signature($request,
> > > > null, null, $_GET["oauth_signature"]);
>
> > > > $signature_valid  is false after running the code above. is there any
> > > > workaround to this?
>
> > > > Please let me know asap.
>
> > > > thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to