diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-01-17 18:07:31 +0000 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-01-17 18:07:31 +0000 |
commit | 4e8f72074eeb1f4bfb34e1cac05db3eef9ab66e3 (patch) | |
tree | a6949dba36295eefa39688371a086a65af89bb04 | |
parent | 307806991b92d7e237cff4e43beb3cc06b10f920 (diff) | |
download | DotNetOpenAuth-4e8f72074eeb1f4bfb34e1cac05db3eef9ab66e3.zip DotNetOpenAuth-4e8f72074eeb1f4bfb34e1cac05db3eef9ab66e3.tar.gz DotNetOpenAuth-4e8f72074eeb1f4bfb34e1cac05db3eef9ab66e3.tar.bz2 |
Fixed whitespace.
git-svn-id: https://dotnetopenid.googlecode.com/svn/trunk@72 01efa1a6-402a-0410-b0ae-47b76eba00f0
-rw-r--r-- | source/Janrain.OpenId/Consumer/OpenIdTextBox.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/source/Janrain.OpenId/Consumer/OpenIdTextBox.cs b/source/Janrain.OpenId/Consumer/OpenIdTextBox.cs index 5c4a3f6..ccbe143 100644 --- a/source/Janrain.OpenId/Consumer/OpenIdTextBox.cs +++ b/source/Janrain.OpenId/Consumer/OpenIdTextBox.cs @@ -351,20 +351,20 @@ namespace NerdBank.OpenId.Consumer string trustRoot = builder.Uri.ToString();
// Build the return_to URL
- UriBuilder return_to = new UriBuilder(Page.Request.Url);
- // Trim off any old "openid." prefixed parameters to avoid carrying
- // state from a prior login attempt.
- return_to.Query = string.Empty;
- NameValueCollection return_to_params = new NameValueCollection(Page.Request.QueryString.Count);
- foreach (string key in Page.Request.QueryString) {
- if (!key.StartsWith("openid.")) {
- return_to_params.Add(key, Page.Request.QueryString[key]);
- }
- }
- UriUtil.AppendQueryArgs(ref return_to, return_to_params);
- Uri redirectUrl = request.CreateRedirect(trustRoot, return_to.Uri, AuthRequest.Mode.SETUP);
- Page.Response.Redirect(redirectUrl.AbsoluteUri);
- }
+ UriBuilder return_to = new UriBuilder(Page.Request.Url);
+ // Trim off any old "openid." prefixed parameters to avoid carrying
+ // state from a prior login attempt.
+ return_to.Query = string.Empty;
+ NameValueCollection return_to_params = new NameValueCollection(Page.Request.QueryString.Count);
+ foreach (string key in Page.Request.QueryString) {
+ if (!key.StartsWith("openid.")) {
+ return_to_params.Add(key, Page.Request.QueryString[key]);
+ }
+ }
+ UriUtil.AppendQueryArgs(ref return_to, return_to_params);
+ Uri redirectUrl = request.CreateRedirect(trustRoot, return_to.Uri, AuthRequest.Mode.SETUP);
+ Page.Response.Redirect(redirectUrl.AbsoluteUri);
+ }
void addProfileArgs(AuthRequest request)
{
|