docs: public static String getAbsoluteUri(String relativeUri, String baseUri) {
  
          if (isAbsoluteUri(relativeUri)) {
              // URI is null or already absolute
              return relativeUri;
          }
          try {
              URL url = new URL(new URL(m_baseUrl, baseUri), relativeUri);
              StringBuffer result = new StringBuffer(100);
              result.append(url.getPath());
              if (url.getQuery() != null) {
                  result.append('?');
                  result.append(url.getQuery());
              }
              if (url.getRef() != null) {
                  result.append('#');
                  result.append(url.getRef());
              }
              return result.toString();
          } catch (MalformedURLException e) {
              LOG.debug(e.getLocalizedMessage(), e);
              return relativeUri;
          }
      }