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"); +} +%> - +
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