refUrl.getQuery();
if (log.isDebugEnabled())
log.debug("Splitting refererer query string [" + val + "] " + refUrl.getQuery());
if (refUrl.getFile() != null) {
ProxyURIDetails uriDetails = RequestParameterMap.parseProxyPath(refUrl.getFile(), "UTF-8");
if(uriDetails.getProxiedURL() == null) {
/* If the referer is not a proxied URL then don't send a referer. This
* way a target server won't know its a request from Adito by
* examining the referer
*/
val = null;
}
else {
val = uriDetails.getProxiedURL().toExternalForm();
}
}
} catch (MalformedURLException murle) {
}