|
@@ -34,7 +34,7 @@ public class ShortUrlController extends BaseController {
|
|
if(Objects.isNull(shortUrl)|| StringUtils.isBlank(shortUrl.getUrl())){
|
|
if(Objects.isNull(shortUrl)|| StringUtils.isBlank(shortUrl.getUrl())){
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- response.sendRedirect(URLEncoder.encode(shortUrl.getUrl(), "GBK"));
|
|
|
|
|
|
+ response.sendRedirect(URLEncoder.encode(shortUrl.getUrl(), "UTF-8"));
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|