Search Results for

    Show / Hide Table of Contents

    Enum ApplicationUrlDetection

    Specifies how the application main URL is detected from incoming HTTP requests.

    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public enum ApplicationUrlDetection

    Fields

    Name Description
    EveryRequest

    The URL is updated from every new incoming HTTP request (legacy behavior), except that it is never replaced by a loopback address once it holds a non-loopback one, or by an HTTP address when it is already HTTPS. This is vulnerable to host header poisoning.

    FirstRequest

    The URL is set from the first HTTP request and then locked against requests for other hosts. The locked URL is only replaced when a later request is strictly more useful as a public address: a request for a non-loopback host replaces a loopback URL, and an HTTPS request for the same host and path replaces an HTTP URL. An HTTP URL on the default port is only replaced by an HTTPS URL on the default port.

    None

    No auto-detection. The application URL must be explicitly configured via UmbracoApplicationUrl. Operations that require a URL (invitations, password resets) will fail if no explicit URL is configured.

    Extension Methods

    ObjectExtensions.ToXmlString(object, Type)
    ObjectExtensions.ToXmlString<T>(object)
    ObjectExtensions.TryConvertTo(object, Type)
    ObjectExtensions.TryConvertTo<T>(object)
    ExpressionHelper.GetPropertyInfo<ApplicationUrlDetection, TProperty>(ApplicationUrlDetection, Expression<Func<ApplicationUrlDetection, TProperty>>)
    DictionaryExtensions.MergeLeft<ApplicationUrlDetection, TK, TV>(ApplicationUrlDetection, IDictionary<TK, TV>, bool)
    DictionaryExtensions.MergeLeft<ApplicationUrlDetection, TK, TV>(ApplicationUrlDetection, IEnumerable<IDictionary<TK, TV>>, bool)
    EnumerableExtensions.Yield<ApplicationUrlDetection>(ApplicationUrlDetection)
    ObjectExtensions.AsEnumerableOfOne<ApplicationUrlDetection>(ApplicationUrlDetection)
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX