Table of Contents

Method CanonicalPath

Namespace
ReportWright.AspNetCore
Assembly
ReportWright.AspNetCore.dll

CanonicalPath(string)

The one spelling of a report path that permissions are asked about: forward slashes, no empty or "." segments. The store accepts the other spellings of the same file, so a rule written against the canonical path must see it.

public static string CanonicalPath(string path)

Parameters

path string

The path from a request.

Returns

string

The canonical path.