diff --git a/AssemblyVersion.cs b/AssemblyVersion.cs index d1151da..cfe260b 100644 --- a/AssemblyVersion.cs +++ b/AssemblyVersion.cs @@ -16,5 +16,5 @@ using System.Reflection; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.0.1.440")] -[assembly: AssemblyFileVersion("3.0.1.440")] +[assembly: AssemblyVersion("3.0.1.441")] +[assembly: AssemblyFileVersion("3.0.1.441")] diff --git a/WebApplication/Post.aspx.cs b/WebApplication/Post.aspx.cs index 50ec895..2680d5b 100644 --- a/WebApplication/Post.aspx.cs +++ b/WebApplication/Post.aspx.cs @@ -116,11 +116,11 @@ namespace ScrewTurn.Wiki { Message msg = Pages.FindMessage(messages, int.Parse(Request["Edit"])); Pages.ModifyMessage(page, int.Parse(Request["Edit"]), msg.Username, txtSubject.Text, DateTime.Now, content); } - UrlTools.Redirect(UrlTools.BuildUrl(page.FullName, Settings.PageExtension, "?Discuss=1&NoRedirect=1")); + UrlTools.Redirect(page.FullName + Settings.PageExtension + "?Discuss=1&NoRedirect=1"); } protected void btnCancel_Click(object sender, EventArgs e) { - UrlTools.Redirect(UrlTools.BuildUrl(page.FullName, Settings.PageExtension, "?Discuss=1&NoRedirect=1")); + UrlTools.Redirect(page.FullName + Settings.PageExtension + "?Discuss=1&NoRedirect=1"); } } diff --git a/WebApplication/RandPage.aspx.cs b/WebApplication/RandPage.aspx.cs index 17d81f1..af10162 100644 --- a/WebApplication/RandPage.aspx.cs +++ b/WebApplication/RandPage.aspx.cs @@ -19,7 +19,7 @@ namespace ScrewTurn.Wiki { protected void Page_Load(object sender, EventArgs e) { List pages = Pages.GetPages(Tools.DetectCurrentNamespaceInfo()); Random r = new Random(); - UrlTools.Redirect(UrlTools.BuildUrl(pages[r.Next(0, pages.Count)].FullName, Settings.PageExtension)); + UrlTools.Redirect(pages[r.Next(0, pages.Count)].FullName + Settings.PageExtension); } }