code: @Sensitive
      private String getStoredReq(HttpServletRequest req, ReferrerURLCookieHandler referrerURLHandler) {
          String storedReq = referrerURLHandler.getReferrerURLFromCookies(req, ReferrerURLCookieHandler.REFERRER_URL_COOKIENAME);
          if (storedReq != null) {
              if (storedReq.equals("/"))
                  storedReq = "";
              else if (storedReq.startsWith("/"))
                  storedReq = storedReq.substring(1);
          } else {
              storedReq = "";
          }
          return storedReq;
      }
docs: Always be redirecting to a stored req with the web app... strip any initial slash
  
  @param req
  @param referrerURLHandler
  @return storedReq