code: private static String normalizePathInfo(String pPathInfo) {
          if (pPathInfo != null && pPathInfo.length() > 0) {
              return pPathInfo.startsWith("/") ? pPathInfo.substring(1) : pPathInfo;
          } else {
              return "";
          }
      }
docs: Return always a non-null string and strip of leading slash