Class URIUtils
java.lang.Object
org.owasp.validator.html.util.URIUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
URIUtils
public URIUtils()
-
-
Method Details
-
resolveAsString
-
normalize
This method removes "." or ".." from absolute URL. I needed this method because the JDK doesn't do this automatically when creating URLs.- Parameters:
absoluteURL- the absolute URL to normalize- Returns:
- The normalized URL
- Throws:
MalformedURLException- if the supplied URL is malformed.
-