docs: private static char[] correctPassword(char[] password) {
      if (password != null && new String(password).indexOf('%') == -1) {
        String escaped = escapeSpecialAsciiAndNonAscii(new String(password));
        StringBuilder totalEscaped = new StringBuilder();
        for (int i = 0; i < escaped.length(); i++) {
          char ch = escaped.charAt(i);
          if (ch == '@' || ch == '/' || ch == ':') {
            totalEscaped.append('%')
                .append(Integer.toHexString(ch).toUpperCase());
          } else {
            totalEscaped.append(ch);
          }
        }
        password = totalEscaped.toString().toCharArray();
      }
      return password;
    }