diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-11 17:55:40 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-11 17:55:40 -0700 |
commit | 6b055f20dd61a845c4486066601a7f820905ff64 (patch) | |
tree | 336cfdd9b440656de52441d77a18578059728651 /src | |
parent | 426803b794481cbaf1ac07758810c100681cf2ec (diff) | |
download | DotNetOpenAuth-6b055f20dd61a845c4486066601a7f820905ff64.zip DotNetOpenAuth-6b055f20dd61a845c4486066601a7f820905ff64.tar.gz DotNetOpenAuth-6b055f20dd61a845c4486066601a7f820905ff64.tar.bz2 |
Fixed classic ASP after recent breaking change and removed one FxCop message.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/OpenId/Interop/OpenIdRelyingPartyShim.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth/OpenId/Interop/OpenIdRelyingPartyShim.cs b/src/DotNetOpenAuth/OpenId/Interop/OpenIdRelyingPartyShim.cs index 77071cf..2a76ea5 100644 --- a/src/DotNetOpenAuth/OpenId/Interop/OpenIdRelyingPartyShim.cs +++ b/src/DotNetOpenAuth/OpenId/Interop/OpenIdRelyingPartyShim.cs @@ -64,7 +64,6 @@ namespace DotNetOpenAuth.OpenId.Interop { [ProgId("DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty")] [ComVisible(true), Obsolete("This class acts as a COM Server and should not be called directly from .NET code.", true)] [ClassInterface(ClassInterfaceType.None)] - [ComSourceInterfaces(typeof(IOpenIdRelyingParty))] public class OpenIdRelyingPartyShim : IOpenIdRelyingParty { /// <summary> /// Creates an authentication request to verify that a user controls @@ -104,7 +103,7 @@ namespace DotNetOpenAuth.OpenId.Interop { public AuthenticationResponseShim ProcessAuthentication(string url, string form) { OpenIdRelyingParty rp = new OpenIdRelyingParty(null); HttpRequestInfo requestInfo = new HttpRequestInfo { Url = new Uri(url) }; - if (form != null) { + if (!string.IsNullOrEmpty(form)) { requestInfo.HttpMethod = "POST"; requestInfo.InputStream = new MemoryStream(Encoding.Unicode.GetBytes(form)); } |