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

Method RedirectUtils

src/main/java/burp/utils/RedirectUtils.java:26–30  ·  view source on GitHub ↗
(IHttpRequestResponse httpRequestResponse)

Source from the content-addressed store, hash-verified

24 private int redirectCount = 0;
25
26 public RedirectUtils(IHttpRequestResponse httpRequestResponse) {
27 this.currHttpRequestResponse = httpRequestResponse;
28 this.currentHttpService = httpRequestResponse.getHttpService();
29 this.currUrl = BurpExtender.getHelpers().analyzeRequest(httpRequestResponse).getUrl().toString();
30 }
31
32 public static String handleRelativeRedirectedUrl(String currentUrl, String locationUrl) {
33 String result = null;

Callers

nothing calls this directly

Calls 3

getHelpersMethod · 0.95
getHttpServiceMethod · 0.45
getUrlMethod · 0.45

Tested by

no test coverage detected