Skip to content

Commit

Permalink
Fix #621 and fix #339 - at least this change should eliminate situati…
Browse files Browse the repository at this point in the history
…on where rendering target pages (to register Dynamic Data Url Mappers) may fail due to target page URL containing /c1mode(relative). This area is still not perfect - this should be an in proc process to ensure it will execute in the same process (going via http request may hit another server or be blocked).
  • Loading branch information
mawtex committed Dec 4, 2018
1 parent c71a3ce commit 38935d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Composite/Data/PageRenderingHistory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private static void RenderPage(IPage page)
return;
}

var urlSpace = new UrlSpace(context) { ForceRelativeUrls = true };
var urlSpace = new UrlSpace(context) { ForceRelativeUrls = false };
var url = PageUrls.BuildUrl(page, UrlKind.Public, urlSpace)
?? PageUrls.BuildUrl(page, UrlKind.Renderer, urlSpace);

Expand Down

0 comments on commit 38935d9

Please sign in to comment.