anchor.diff:              }
   
               //Check to see if allowed referer list is specified and reject if referer is null
  -            if (request.getHeader("referer") == null && allowedReferers != null && !allowedReferers[0].equals("*")){
  +            if (request.getHeader("referer") == null && allowedReferers != null && !allowedReferers[0].equals("*")) {
                   _log(Level.WARNING, "Proxy is being called by a null referer.  Access denied.");
                   sendErrorResponse(response, "Current proxy configuration settings do not allow requests which do not include a referer header.", "403 - Forbidden: Access is denied.", HttpServletResponse.SC_FORBIDDEN);
                   return;
               }
   
               //get the serverUrl from proxy.config
  -            serverUrl = getConfig().getConfigServerUrl(uri);
  +            serverUrl = getConfig().getConfigServerUrl(originalUri);
               if (serverUrl == null) {
                   //if no serverUrl found, send error message and get out.
  -                _sendURLMismatchError(response, uri);
  +                _sendURLMismatchError(response, originalUri);
                   return;
               }
           } catch (IllegalStateException e) {
  -            _log(Level.WARNING, "Proxy is being used for an unsupported service: " + uri);
  -
  -            _sendURLMismatchError(response, uri);
  +            _log(Level.WARNING, "Proxy is being used for an unsupported service: " + originalUri);
  +
  +            _sendURLMismatchError(response, originalUri);
   
               return;
           }
  
positive.code: 
              //if still no token, let's see if there are credentials stored in configuration which we can use to obtain new token
              if (!tokenIsInApplicationScope){
                  token = getNewTokenIfCredentialsAreSpecified(serverUrl, uri);
              }
  
              if (token != null && !token.isEmpty() && !tokenIsInApplicationScope) {
  
negative.code:         //readying body (if any) of POST request
          byte[] postBody = readRequestPostBody(request);
          String post = new String(postBody);
          //check if the originalUri needs to be host-redirected
          String requestUri = uriHostRedirect(originalUri, serverUrl);
  
          //if token comes with client request, it takes precedence over token or credentials stored in configuration
          boolean hasClientToken = requestUri.contains("?token=") || requestUri.contains("&token=") || post.contains("?token=") || post.contains("&token=");
          String token = "";
          if (!hasClientToken) {
              // Get new token and append to the request.
  