Skip to content

Commit

Permalink
Revert UTF-8 fix for now
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Nov 19, 2023
1 parent 748c051 commit 1ec84a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/nzbhydra/web/WebConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void write(Object o, MediaType contentType, HttpOutputMessage outputMessa
ByteArrayOutputStream bos = new ByteArrayOutputStream();
marshaller.marshal(newznabResponse, new StreamResult(bos));
String result;
String originalXml = bos.toString(StandardCharsets.UTF_8);
String originalXml = bos.toString();
if (newznabResponse.getSearchType() == NewznabResponse.SearchType.TORZNAB) {
result = originalXml.replace("xmlns:newznab=\"http://www.newznab.com/DTD/2010/feeds/attributes/\"", "");
} else {
Expand Down
6 changes: 6 additions & 0 deletions core/src/main/resources/changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#@formatter:off
- version: "v5.3.3"
date: "2023-11-18"
changes:
- type: "fix"
text: "Revert UTF-8 fix because 5.3.1 crashed on start. Oops, sorry."
final: true
- version: "v5.3.1"
date: "2023-11-18"
changes:
Expand Down

0 comments on commit 1ec84a0

Please sign in to comment.