code: public PathImpl fsWalk(String userPath,
                       Map<String,Object> attributes,
                       String uri)
    {
      String path;
      String query = null;
      int queryIndex = uri.indexOf('?');
      if (queryIndex >= 0) {
        path = uri.substring(0, queryIndex);
        query = uri.substring(queryIndex + 1);
      } else
        path = uri;
  
      if (path.length() == 0)
        path = "/";
  
      return create(_root, userPath, attributes, path, query);
    }
docs: Scans the path portion of the URI, i.e. everything after the
  host and port.
  
  @param userPath the user's supplied path
  @param attributes the attributes for the new path
  @param uri the full uri for the new path.
  
  @return the found path.