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

Commit

Permalink
Fixed typo in method name CheckExpectedSateIsAvailable to CheckExpect…
Browse files Browse the repository at this point in the history
…edStateIsAvailable.

git-svn-id: https://dotnetopenid.googlecode.com/svn/trunk@74 01efa1a6-402a-0410-b0ae-47b76eba00f0
  • Loading branch information
AArnott committed Jan 17, 2008
1 parent 7e85d52 commit d46123c
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion source/JanRain.OpenID.ServerPortal/App_Code/State.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public CheckIdRequest LastRequest
set { lastRequest = value; }
}

public void CheckExpectedSateIsAvailable()
public void CheckExpectedStateIsAvailable()
{
if (LastRequest == null)
{
Expand Down
66 changes: 33 additions & 33 deletions source/JanRain.OpenID.ServerPortal/App_Code/Util.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,39 +39,39 @@ public static void GenerateHttpResponse(IEncodable response)
{
string text = System.Text.Encoding.UTF8.GetString(
e.Response.EncodeToKVForm());
string error = @"
<html><head><title>Error Processing Request</title></head><body>
<p><pre>{0}</pre></p>
<!--
This is a large comment. It exists to make this page larger.
That is unfortunately necessary because of the 'smart'
handling of pages returned with an error code in IE.
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
string error = @"
<html><head><title>Error Processing Request</title></head><body>
<p><pre>{0}</pre></p>
<!--
This is a large comment. It exists to make this page larger.
That is unfortunately necessary because of the 'smart'
handling of pages returned with an error code in IE.
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
--></body></html>";
error = String.Format(error, HttpContext.Current.Server.HtmlEncode(text));
HttpContext.Current.Response.StatusCode = 400;
Expand Down
2 changes: 1 addition & 1 deletion source/JanRain.OpenID.ServerPortal/decide.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public partial class decide : Page
{
protected void Page_Load(object src, EventArgs e)
{
State.Session.CheckExpectedSateIsAvailable();
State.Session.CheckExpectedStateIsAvailable();

// check that the logged in user is the same as the user requesting authentication to the consumer. If not, then log them out.
String s = Util.ExtractUserName(State.Session.LastRequest.IdentityUrl);
Expand Down
2 changes: 1 addition & 1 deletion source/JanRain.OpenID.ServerPortal/login.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public partial class login : System.Web.UI.Page
{
protected void Page_Load(object src, EventArgs e)
{
State.Session.CheckExpectedSateIsAvailable();
State.Session.CheckExpectedStateIsAvailable();

String s = Util.ExtractUserName(State.Session.LastRequest.IdentityUrl);
if (s != null)
Expand Down

0 comments on commit d46123c

Please sign in to comment.