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

Commit

Permalink
Merge branch 'v4.0' into v4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Nov 25, 2013
2 parents 4dac848 + 3b01b41 commit 9ecfbac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -404,8 +404,8 @@ internal IndirectSignedResponse(Version version, Uri relyingPartyReturnTo)
IsQuerySubsetOf(this.Recipient.Query, this.ReturnTo.Query),
OpenIdStrings.ReturnToParamDoesNotMatchRequestUrl,
Protocol.openid.return_to,
this.ReturnTo,
this.Recipient);
this.ReturnTo.AbsoluteUri,
this.Recipient.AbsoluteUri);
}
}
}
2 changes: 1 addition & 1 deletion src/DotNetOpenAuth.OpenId/Xrds/XrdsDocument.cs
Expand Up @@ -54,7 +54,7 @@ public XrdsDocument(XmlReader reader)
/// <param name="xml">The text that is the XRDS document.</param>
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Justification = "Fixing would decrease readability, and not likely avoid any finalizer on a StringReader anyway.")]
public XrdsDocument(string xml)
: this(new XPathDocument(new StringReader(xml)).CreateNavigator()) { }
: this(new XPathDocument(XmlReader.Create(new StringReader(xml), MessagingUtilities.CreateUntrustedXmlReaderSettings())).CreateNavigator()) { }

/// <summary>
/// Gets the XRD child elements of the document.
Expand Down

0 comments on commit 9ecfbac

Please sign in to comment.