From 168b38b2a3e375c619711e94ed57be3cc8626191 Mon Sep 17 00:00:00 2001 From: "NielsHartvig@UMBRACORATI.localdomain" Date: Thu, 17 Jan 2013 08:47:42 -0100 Subject: [PATCH] Update to U4-1485 for 4.11.4 --- src/Umbraco.Web.UI/config/splashes/booting.aspx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI/config/splashes/booting.aspx b/src/Umbraco.Web.UI/config/splashes/booting.aspx index 39e97e4ffe..ac409e30f3 100644 --- a/src/Umbraco.Web.UI/config/splashes/booting.aspx +++ b/src/Umbraco.Web.UI/config/splashes/booting.aspx @@ -1,15 +1,22 @@ <%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %> +<% +// NH: Adds this inline check to avoid a simple codebehind file in the legacy project! +if (!umbraco.cms.helpers.url.ValidateProxyUrl(Request["url"], Request.Url.AbsoluteUri)) +{ + throw new ArgumentException("Can't redirect to the requested url - it's not local or an approved proxy url", "url"); +} +%> - + The website is restarting - "> + ">

The website is restarting

Please wait for 10s while we prepare to serve the page you have requested...

- +

You can modify the design of this page by editing /config/splashes/booting.aspx