Skip to content

Commit 9d87bbb

Browse files
committed
Update Getter.java
1 parent 325b52c commit 9d87bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/burp/Getter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public String getShortUrlStringWithDefaultPort(IHttpRequestResponse messageInfo)
216216
* eg. https://www.baidu.com
217217
*/
218218
public String getShortUrlStringWithoutDefaultPort(IHttpRequestResponse messageInfo) {
219-
return messageInfo.getHttpService().toString(); //this result of this method doesn't contains default port
219+
return messageInfo.getHttpService().toString()+"/"; //this result of this method doesn't contains default port
220220
}
221221

222222

@@ -259,7 +259,7 @@ public String getFullUrlStringWithoutDefaultPort(IHttpRequestResponse messageInf
259259
*/
260260
public URL getShortURL(IHttpRequestResponse messageInfo){
261261
if (null == messageInfo) return null;
262-
String shortUrlString = messageInfo.getHttpService().toString();
262+
String shortUrlString = messageInfo.getHttpService().toString()+"/";
263263
try {
264264
return new URL(shortUrlString);
265265
} catch (MalformedURLException e) {

0 commit comments

Comments
 (0)