You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "chirag shah (JIRA)" <ji...@apache.org> on 2010/01/28 05:57:34 UTC

[jira] Commented: (SHINDIG-1274) Wrong signature for requests with arrays in query string

    [ https://issues.apache.org/jira/browse/SHINDIG-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805784#action_12805784 ] 

chirag shah commented on SHINDIG-1274:
--------------------------------------

Does the patch account for query strings like "a[1]=1&a[2]=2"

Would it be easier to upgrade to the latest version of OAuth.php

> Wrong signature for requests with arrays in query string
> --------------------------------------------------------
>
>                 Key: SHINDIG-1274
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1274
>             Project: Shindig
>          Issue Type: Bug
>          Components: PHP
>            Reporter: Thiago Arrais
>         Attachments: fix-1247-adds.support.for.array.parameters.in.signed.request.patch
>
>
> Shindig does not correctly sign requests with arrays in the query string. The problem is in encoding arrays into the OAuth signature base string. When it receives something like
> http://example.com/resource?array%5B%5D=5&array%5B%5D=9&array%5B%5D=13
> the basestring includes "array%3D5%26array%3D9%26array%3D13", not "array%255B%255D%3D5%26array%255B%255D%3D9%26array%255B%255D%3D13" as it should.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.