Fixed xml spoofing bug for using DataContractSerializer to deserialize messages.
commit9b189b9a943f18c17c7b468dd9e60c65f7edc7dc
authorAndrew Arnott <andrewarnott@gmail.com>
Sat, 13 Sep 2008 14:07:36 +0000 (13 07:07 -0700)
committerAndrew <andrewarnott@gmail.com>
Sat, 13 Sep 2008 14:07:36 +0000 (13 07:07 -0700)
treea58300f624663948b3053045167cadd06c293c2d
parent6c4936e194080e6a7d2194870cf57814d6432eff
Fixed xml spoofing bug for using DataContractSerializer to deserialize messages.

Added tests to verify correct behavior.
src/DotNetOAuth.Test/DotNetOAuth.Test.csproj
src/DotNetOAuth.Test/Messaging/DictionaryXmlReaderTests.cs
src/DotNetOAuth.Test/Messaging/MessageSerializerTests.cs
src/DotNetOAuth.Test/Mocks/TestBaseMessage.cs [new file with mode: 0644]
src/DotNetOAuth.Test/Mocks/TestDerivedMessage.cs [new file with mode: 0644]
src/DotNetOAuth/DotNetOAuth.csproj
src/DotNetOAuth/Messaging/DataContractMemberComparer.cs [new file with mode: 0644]
src/DotNetOAuth/Messaging/DictionaryXmlReader.cs
src/DotNetOAuth/Messaging/MessageSerializer.cs
src/DotNetOAuth/Messaging/MessagingStrings.Designer.cs
src/DotNetOAuth/Messaging/MessagingStrings.resx