URLHelperLocalRedirect Method |
Redirects (302 HTTP status code) the response using specified URL in case it is local,
otherwise redirects to
ApplicationPath
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntaxpublic static void LocalRedirect(
string url
)
Parameters
- url
- Type: SystemString
URL within same domain.
RemarksUse this method when the specified URL comes as user input (query string, POST form data, etc.)
in order to prevent unvalidated redirects.
See Also