docs: public static String stripURL(String url, SessionInfo info) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "Removing any session id from [" + url + "]");
          }
          String target = info.getSessionConfig().getURLRewritingMarker();
          URLParser parser = new URLParser(url, target);
          if (-1 != parser.idMarker) {
              // the parser found an id marker, see if we need to include
              // any trailing fragment or query data
              StringBuilder sb = new StringBuilder(url.substring(0, parser.idMarker));
              if (-1 != parser.fragmentMarker) {
                  sb.append(url.substring(parser.fragmentMarker));
              } else if (-1 != parser.queryMarker) {
                  sb.append(url.substring(parser.queryMarker));
              }
              return sb.toString();
          }
          return url;
      }