File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ public String getShortUrlStringWithDefaultPort(IHttpRequestResponse messageInfo)
216
216
* eg. https://www.baidu.com
217
217
*/
218
218
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
220
220
}
221
221
222
222
@@ -259,7 +259,7 @@ public String getFullUrlStringWithoutDefaultPort(IHttpRequestResponse messageInf
259
259
*/
260
260
public URL getShortURL (IHttpRequestResponse messageInfo ){
261
261
if (null == messageInfo ) return null ;
262
- String shortUrlString = messageInfo .getHttpService ().toString ();
262
+ String shortUrlString = messageInfo .getHttpService ().toString ()+ "/" ;
263
263
try {
264
264
return new URL (shortUrlString );
265
265
} catch (MalformedURLException e ) {
You can’t perform that action at this time.
0 commit comments