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

Enum RebaseKind

An enumeration for the different kinds of URL rebasing to perform.

Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[Flags]
public enum RebaseKind

Fields

Name Description
Default

The default rebasing to use, which is ToRelative

IgnoreRootRelative

If the path is already root-relative, do nothing.

NoLeadingDotDot

If enabled together with ToRelative it will cause root-relative paths to be generated when a leading "../" should otherwise have been generated.

ToRelative

The URL should be relative (not starting with '/')

ToRootRelative

The URL should be root relative (starting with a '/')

Extension Methods