The method `com.liferay.portal.util.PortalUtil.escapeRedirect` in Java is used in the Liferay Portal framework to escape the characters in a URL string to ensure its safe usage while redirecting. This method replaces reserved characters in the URL with their corresponding encoded values, reducing the risk of any URL manipulation or security vulnerabilities. It is commonly employed when redirecting users to a different webpage or URL within a Liferay Portal application.
Java PortalUtil.escapeRedirect - 20 examples found. These are the top rated real world Java examples of com.liferay.portal.util.PortalUtil.escapeRedirect extracted from open source projects. You can rate examples to help us improve the quality of examples.