Merge remote-tracking branch 'origin/7.0.0' into 7.0.0--property-editor-guid-to-alias
Conflicts: src/Umbraco.Core/Configuration/LegacyUmbracoSettings.cs src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/Expressions/AlterColumnExpression.cs src/Umbraco.Core/PropertyEditors/TinyMcePropertyEditorValueConverter.cs src/Umbraco.Core/XmlHelper.cs src/Umbraco.Tests/ObjectExtensionsTests.cs src/Umbraco.Web/PropertyEditors/RteMacroRenderingPropertyEditorValueConverter.cs src/Umbraco.Web/Routing/DefaultUrlProvider.cs src/Umbraco.Web/Umbraco.Web.csproj src/Umbraco.Web/umbraco.presentation/macro.cs
This commit is contained in:
@@ -46,6 +46,7 @@ namespace Umbraco.Web
|
||||
//see: http://issues.umbraco.org/issue/U4-2059
|
||||
if (ApplicationContext.Current.OriginalRequestUrl.IsNullOrWhiteSpace())
|
||||
{
|
||||
// the keepalive service will use that url
|
||||
ApplicationContext.Current.OriginalRequestUrl = string.Format("{0}:{1}{2}", httpContext.Request.ServerVariables["SERVER_NAME"], httpContext.Request.ServerVariables["SERVER_PORT"], IOHelper.ResolveUrl(SystemDirectories.Umbraco));
|
||||
}
|
||||
|
||||
@@ -252,7 +253,7 @@ namespace Umbraco.Web
|
||||
reason = EnsureRoutableOutcome.NoContent;
|
||||
}
|
||||
|
||||
return new Attempt<EnsureRoutableOutcome>(reason == EnsureRoutableOutcome.IsRoutable, reason);
|
||||
return Attempt.If(reason == EnsureRoutableOutcome.IsRoutable, reason);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user