Package org.owasp.validator.html.util
Class URIUtils
java.lang.Object
org.owasp.validator.html.util.URIUtils
A utility class for URI handling
- Author:
- Keith Visco
-
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 URI to normalize- Throws:
MalformedURLException
-