|
|
@@ -955,7 +955,7 @@ public class BgServiceImpl implements BgService {
|
|
|
long start = System.currentTimeMillis();
|
|
|
Connection.Response response = Jsoup.connect(href).method(Connection.Method.GET).ignoreContentType(true).timeout(50 * 1000).execute();
|
|
|
|
|
|
- String fileName = issueDate.concat(" ").concat(h3);
|
|
|
+ String fileName = issueDate.concat(" ").concat(h3).replace("?", "?");
|
|
|
byte[] imgUrlBytes = fileName.getBytes(StandardCharsets.UTF_8);
|
|
|
if (imgUrlBytes.length > 251) {
|
|
|
byte[] imgUrlDestBytes = new byte[251];
|
|
|
@@ -1128,7 +1128,7 @@ public class BgServiceImpl implements BgService {
|
|
|
// 图片URL bigImage
|
|
|
String qibingCover = qibings.concat("/cover/");
|
|
|
|
|
|
- String fileName = issueDate.concat(" ").concat(h3);
|
|
|
+ String fileName = issueDate.concat(" ").concat(h3).replace("?", "?");
|
|
|
byte[] imgUrlBytes = fileName.getBytes(StandardCharsets.UTF_8);
|
|
|
if (imgUrlBytes.length > 251) {
|
|
|
byte[] imgUrlDestBytes = new byte[251];
|