CheckParametersCheckPath Method (String, Boolean) |
Checks the current request for allowed parameters.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 10.0.0
Syntax public static bool CheckPath(
string path,
bool redirect
)
Parameters
- path
- Type: SystemString
Path to check - redirect
- Type: SystemBoolean
If true, when parameters do not match, the request is redirected either to 404 or throws an exception (depending on current settings)
Return Value
Type:
BooleanSee Also