From 38935d9bbd1eff468a26b5fab500f834060f96d2 Mon Sep 17 00:00:00 2001 From: mawtex Date: Tue, 4 Dec 2018 14:49:03 +0100 Subject: [PATCH] Fix #621 and fix #339 - at least this change should eliminate situation 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). --- Composite/Data/PageRenderingHistory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Composite/Data/PageRenderingHistory.cs b/Composite/Data/PageRenderingHistory.cs index fa403d928a..1bd20a0686 100644 --- a/Composite/Data/PageRenderingHistory.cs +++ b/Composite/Data/PageRenderingHistory.cs @@ -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);