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). This is vulnerable to host header poisoning.

    FirstRequest

    The URL is set from the first HTTP request and then locked. Subsequent requests with different host headers are ignored.

    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