Skip to content

Commit

Permalink
forgot two files
Browse files Browse the repository at this point in the history
  • Loading branch information
w8tcha committed Apr 6, 2014
1 parent a85aa36 commit 3f88ab9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions yafsrc/YAF.Core/URLBuilder/AdvancedUrlRewriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,19 @@ public override string BuildUrl(string url)
return newUrl;
}

/// <summary>
/// Builds path for calling page with URL argument as the parameter.
/// </summary>
/// <param name="boardSettings">The board settings.</param>
/// <param name="url">URL to use as a parameter.</param>
/// <returns>
/// URL to calling page with URL argument as page's parameter with escaped characters to make it valid parameter.
/// </returns>
public override string BuildUrl(object boardSettings, string url)
{
return this.BuildUrl(url);
}

#endregion
}
}
13 changes: 13 additions & 0 deletions yafsrc/YAF.Core/URLBuilder/StandardUrlRewriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,19 @@ public override string BuildUrl(string url)
return newUrl;
}

/// <summary>
/// Builds Full URL for calling page with parameter URL as page's escaped parameter.
/// </summary>
/// <param name="boardSettings">The board settings.</param>
/// <param name="url">URL to put into parameter.</param>
/// <returns>
/// URL to calling page with URL argument as page's parameter with escaped characters to make it valid parameter.
/// </returns>
public override string BuildUrl(object boardSettings, string url)
{
return this.BuildUrl(url);
}

#endregion
}
}

0 comments on commit 3f88ab9

Please sign in to comment.