Aha! I found the problem. It was because we're using an older version
of Shindig where the Uri.toJavaUri() is implemented using the
URI(scheme, authority, path, query, fragment)  constructor.  Changing
it use the URI(String) constructor fixed the problem.

Rich

On Tue, Apr 14, 2009 at 1:29 PM, Brian Eaton <[email protected]> wrote:
> Are you sure that Shindig is doing this automatically?
>
> The Shindig java code doesn't mess with the oauth_callback parameter.
> It's up to the gadget to handle it properly.
>
> On Tue, Apr 14, 2009 at 1:27 PM, Richard Wallace
> <[email protected]> wrote:
>> Hello,
>>
>> I've noticed something odd with Shindig.  It seems that the
>> oauthcallback is automatically URI encoded in the Authorization url
>> property.  Is this part of the standard or just something Shindig
>> does?  It seems like part of the de facto standard from the OAuth docs
>> on Google <http://code.google.com/apis/gadgets/docs/oauth.html#ModulePrefs>,
>> since they aren't bothering to URI encode the oauthcallback parameter
>> in the gadget spec there either.  But I haven't found anywhere saying
>> that the gadget container is expected to do the URI encoding on the
>> query parameters or if the gadget author is expected to do it.
>>
>> Thanks,
>> Rich
>>
>

Reply via email to