MCPcopy Index your code
hub / github.com/XF-FS/APIKit / getUrlPathList

Method getUrlPathList

src/main/java/burp/utils/CommonUtils.java:112–122  ·  view source on GitHub ↗
(URL url)

Source from the content-addressed store, hash-verified

110 }
111
112 public static Set<String> getUrlPathList(URL url) {
113 String path;
114 String urlRootPath = CommonUtils.getUrlRootPath(url);
115 String tmppath = path = url.getPath();
116 HashSet<String> UrlPathList = new HashSet<String>();
117 while (tmppath.length() != 0 || tmppath.equals("/")) {
118 tmppath = tmppath.substring(0, tmppath.lastIndexOf("/"));
119 UrlPathList.add(urlRootPath + tmppath);
120 }
121 return UrlPathList;
122 }
123
124 public static String getCurrentDateTime() {
125 Date d = new Date();

Callers 4

isFingerprintMatchMethod · 0.95
isFingerprintMatchMethod · 0.95
isFingerprintMatchMethod · 0.95
isFingerprintMatchMethod · 0.95

Calls 2

getUrlRootPathMethod · 0.95
addMethod · 0.80

Tested by

no test coverage detected