org.owasp.validator.html.util
public class URIUtils extends java.lang.Object
Constructor and Description |
---|
URIUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
normalize(java.lang.String absoluteURL)
This method removes "." or ".." from absolute URL.
|
static java.lang.String |
resolveAsString(java.lang.String href,
java.lang.String documentBase) |
public static java.lang.String resolveAsString(java.lang.String href, java.lang.String documentBase)
public static java.lang.String normalize(java.lang.String absoluteURL) throws java.net.MalformedURLException
absoluteURL
- the absolute URI to normalizejava.net.MalformedURLException
Copyright © 2014. All Rights Reserved.