docs: @Nullable
    public static String urlEncode(String s)
    {
      if (s == null) {
        return null;
      }
  
      try {
        return StringUtils.replace(URLEncoder.encode(s, "UTF-8"), "+", "%20");
      }
      catch (UnsupportedEncodingException e) {
        throw new RuntimeException(e);
      }
    }