Skip to content
This repository was archived by the owner on Mar 20, 2019. It is now read-only.

Commit 61b4d2b

Browse files
committed
Fixes two more test failures. 2 left.
1 parent 3883e15 commit 61b4d2b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/DotNetOpenAuth.Core/Messaging/Channel.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,6 +1181,10 @@ protected virtual async Task ProcessIncomingMessageAsync(IProtocolMessage messag
11811181
messageAccessor.ToStringDeferred());
11821182
}
11831183

1184+
if (this.IncomingMessageFilter != null) {
1185+
this.IncomingMessageFilter(message);
1186+
}
1187+
11841188
MessageProtections appliedProtection = MessageProtections.None;
11851189
foreach (IChannelBindingElement bindingElement in this.IncomingBindingElements) {
11861190
Assumes.True(bindingElement.Channel != null); // CC bug: this.IncomingBindingElements ensures this... why must we assume it here?
@@ -1231,10 +1235,6 @@ protected virtual async Task ProcessIncomingMessageAsync(IProtocolMessage messag
12311235
// message deserializer did for us. It would be too late to do it here since
12321236
// they might look initialized by the time we have an IProtocolMessage instance.
12331237
message.EnsureValidMessage();
1234-
1235-
if (this.IncomingMessageFilter != null) {
1236-
this.IncomingMessageFilter(message);
1237-
}
12381238
}
12391239

12401240
/// <summary>

src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ private async Task ParameterizedAuthenticationTestAsync(Protocol protocol, bool
270270
}
271271
}
272272

273-
var assertionMessage = new HttpRequestMessage(HttpMethod.Get, redirectResponse.AbsoluteUri);
273+
var assertionMessage = new HttpRequestMessage(HttpMethod.Get, redirectResponse);
274274
if (positive) {
275275
if (tamper) {
276276
try {

0 commit comments

Comments
 (0)