In fact it is all very simple :-)  (famous last words)

In general:  encode before you concatenate with '&'.

On 22 jan 2009, at 20:12, Pelle Braendgaard wrote:
> 1. Normalize the request parameters, which means only ordering the
> parameters and then separating them with "&"'s ( 9.1.1)

The request parameters are encoded before the concatenation.   
(Otherwise you could not have a '&' in any parameter.)

> 2. Normalizing the URL (9.1.2)
> 3. Concatenation of the encoded versions of (the http request method,
> the normalized url (see step 2) and the normalized request parameters
> (see step 1.) (9.1.3)
>
> The Ruby implementation encodes each parameter in step 1 and then
> re-encodes them in step 3.

That is correct behaviour.  The result in step 3 is a concatenation of  
3 parts, all parts are encoded before concatenating.

> I have corrected this in git so far. But
> would like to just check that my analysis is correct, so we can close
> this chapter once and for all.

Hope this is now closed :-)

- Marc

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to