U4-2733 call to umbraco.library:Request broken?

This commit is contained in:
Sebastiaan Janssen
2013-10-07 08:18:44 +02:00
parent 33b09c80aa
commit a90f32035d

View File

@@ -191,7 +191,7 @@ namespace Umbraco.Web
var contentType = _umbracoContext.HttpContext.Response.ContentType;
var traceIsEnabled = containerPage.Trace.IsEnabled;
containerPage.Trace.IsEnabled = false;
_umbracoContext.HttpContext.Server.Execute(containerPage, output, false);
_umbracoContext.HttpContext.Server.Execute(containerPage, output, true);
containerPage.Trace.IsEnabled = traceIsEnabled;
//reset the content type
_umbracoContext.HttpContext.Response.ContentType = contentType;