A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class HttpRequestSupport

Static utility class to identify if a request / URL refers to an EPiServer system folder.

Inheritance
System.Object
HttpRequestSupport
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
public static class HttpRequestSupport : Object

Methods

IsSystemDirectory(String)

Determines whether the path refers to a system directory.

Declaration
public static bool IsSystemDirectory(string urlPath)
Parameters
Type Name Description
System.String urlPath

The path

Returns
Type Description
System.Boolean

true if the given path refers to a system directory; otherwise, false.