Skip to content

Commit

Permalink
Update Getter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Nov 29, 2019
1 parent 325b52c commit 9d87bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/burp/Getter.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public String getShortUrlStringWithDefaultPort(IHttpRequestResponse messageInfo)
* eg. https://www.baidu.com
*/
public String getShortUrlStringWithoutDefaultPort(IHttpRequestResponse messageInfo) {
return messageInfo.getHttpService().toString(); //this result of this method doesn't contains default port
return messageInfo.getHttpService().toString()+"/"; //this result of this method doesn't contains default port
}


Expand Down Expand Up @@ -259,7 +259,7 @@ public String getFullUrlStringWithoutDefaultPort(IHttpRequestResponse messageInf
*/
public URL getShortURL(IHttpRequestResponse messageInfo){
if (null == messageInfo) return null;
String shortUrlString = messageInfo.getHttpService().toString();
String shortUrlString = messageInfo.getHttpService().toString()+"/";
try {
return new URL(shortUrlString);
} catch (MalformedURLException e) {
Expand Down

0 comments on commit 9d87bbb

Please sign in to comment.