Fixed workitem: 30817 - FeedProxy ThreadAbortException Error
Removed the Response.End, as wasn't really needed.
This commit is contained in:
@@ -4,11 +4,10 @@
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Mime;
|
||||
using System.Xml;
|
||||
using umbraco;
|
||||
using umbraco.BasePages;
|
||||
using umbraco.BusinessLogic;
|
||||
using umbraco.IO;
|
||||
using umbraco;
|
||||
|
||||
public partial class FeedProxy : UmbracoEnsuredPage
|
||||
{
|
||||
@@ -36,12 +35,12 @@
|
||||
Response.Clear();
|
||||
Response.ContentType = Request.QueryString["type"] ?? MediaTypeNames.Text.Xml;
|
||||
Response.Write(response);
|
||||
Response.End();
|
||||
}
|
||||
}
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
Log.Add(LogTypes.Error, -1, string.Format("Access to unallowed feedproxy attempted: {0}", requestUri));
|
||||
Log.Add(LogTypes.Error, -1, string.Format("Access to unallowed feedproxy attempted: {0}", requestUri));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user