public class URLUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BAD_PATH_URL_CHARS
The sanitize the req.getPathInfo() information.
|
| Constructor and Description |
|---|
URLUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addParameter(String URL,
String name,
String value) |
static String |
encodeUrl(String url)
The same behaviour as Web.escapeUrl, only without the "funky encoding" of
the characters ?
|
static String |
getSafePathInfo(HttpServletRequest req) |
public static String BAD_PATH_URL_CHARS
public static String encodeUrl(String url)
toencode - The string to encode.toencode fully escaped using URL rules.public static String getSafePathInfo(HttpServletRequest req)
Copyright © 2003–2016 University of Michigan. All rights reserved.