You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Chris Chabot (JIRA)" <ji...@apache.org> on 2009/05/11 13:23:45 UTC

[jira] Resolved: (SHINDIG-1054) cannot applying multiple fields in restful api with oauth arguments

     [ https://issues.apache.org/jira/browse/SHINDIG-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Chabot resolved SHINDIG-1054.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.x-incubating
         Assignee: Chris Chabot

Very nice catch finding that bug, patch's looked good to me and have been committed.

Thanks!

> cannot applying multiple fields in restful api with oauth arguments
> -------------------------------------------------------------------
>
>                 Key: SHINDIG-1054
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1054
>             Project: Shindig
>          Issue Type: Bug
>          Components: PHP
>    Affects Versions: trunk
>            Reporter: Pan Jie
>            Assignee: Chris Chabot
>            Priority: Minor
>             Fix For: trunk, 1.0.x-incubating
>
>         Attachments: 20090511-3.patch, branches-2009-05-11.patch
>
>
> Assuming i want to fetch such a url: 
> http://shindig/social/rest/people/1/@self?fields=gender,name
> After oauth signing, url will be:
> http://shindig/social/rest/people/1/@self?oauth_nonce=e8ee41728d2d062063f6ba6eaa98dda6&oauth_timestamp=1241666501&oauth_consumer_key=d3d9cee5-fef5-cee6-a1f2-f1e5f3e8c0fa&fields=gender%2Cname&oauth_signature_method=HMAC-SHA1&oauth_signature=EN1GhZ81dgAEJVauLJfRHFNdfJE%3D&
> So parameter "fields=gender,name" will be encoded to "fields=gender%2Cname" which lead to a bug.

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