Skip to content

Commit

Permalink
v3.4.5 修复空指针异常
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyPuppy514 committed Jun 18, 2024
1 parent b10864b commit 626e61a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.en_US.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

# Change Logs

## v3.4.5 2024-06-18

👻 Fix the issue of NullPointerException

## v3.4.4 2024-06-04

👻 Fix the issue of nested path while renaming
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

# 变更日志

## v3.4.5 2024-06-18

👻 修复空指针问题

## v3.4.4 2024-06-04

👻 修复重命名时路径嵌套的问题
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!-- 项目信息 -->
<groupId>com.lckp</groupId>
<artifactId>jproxy</artifactId>
<version>3.4.4</version>
<version>3.4.5</version>
<name>JProxy</name>
<description>介于 Sonarr/Radarr 和 Jackett/Prowlarr 之间的代理,主要用于优化查询和提升识别率</description>
<!-- 依赖版本 -->
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/lckp/jproxy/filter/BaseFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void writeToResponse(byte[] content, ServletResponse response) throws IOE
* @throws IOException void
*/
public void writeToResponse(String content, ServletResponse response) throws IOException {
content = content == null ? "" : content;
writeToResponse(content.getBytes(StandardCharsets.UTF_8), response);
}
}

0 comments on commit 626e61a

Please sign in to comment.