code: private String escapeToLower(String url) {
          String encodedUrl = StringUtils.urlEncode(url, UNSAFE_URL_CHARS_PATTERN, Charset.forName("UTF-8"));
          return encodedUrl;
      }
docs: Escape url using lowercase hex code
  
  @param url a url string
  @return escaped url