diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-06-02 20:31:44 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-06-02 20:31:44 -0700 |
commit | 9db9a3768ce97f565ff01ca355be295d9775c4ef (patch) | |
tree | a9b67ad18216525be8dbfbfed95fc5ce2e14367a /src | |
parent | 33eb2c239af5140e66849356c31ffbf001bda1fd (diff) | |
download | DotNetOpenAuth-9db9a3768ce97f565ff01ca355be295d9775c4ef.zip DotNetOpenAuth-9db9a3768ce97f565ff01ca355be295d9775c4ef.tar.gz DotNetOpenAuth-9db9a3768ce97f565ff01ca355be295d9775c4ef.tar.bz2 |
Added missing escaping to OAuth 2.0 token.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/OAuthWrap/WrapUtilities.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OAuthWrap/WrapUtilities.cs b/src/DotNetOpenAuth/OAuthWrap/WrapUtilities.cs index 86a9c5d..4b38e8a 100644 --- a/src/DotNetOpenAuth/OAuthWrap/WrapUtilities.cs +++ b/src/DotNetOpenAuth/OAuthWrap/WrapUtilities.cs @@ -30,7 +30,7 @@ namespace DotNetOpenAuth.OAuthWrap { request.Headers[HttpRequestHeader.Authorization] = string.Format( CultureInfo.InvariantCulture, Protocol.HttpAuthorizationHeaderFormat, - accessToken); + Uri.EscapeDataString(accessToken)); } internal static DotNetOpenAuth.OAuth.ChannelElements.IConsumerDescription GetClientOrThrow(this IAuthorizationServer authorizationServer, string clientIdentifier) { |