Skip to content

Commit b1f44b1

Browse files
author
Yang Guo
committed
Merge branch 'develop' of github.com:FlowCI/flow-platform into develop
2 parents 1318ba7 + 354aaa8 commit b1f44b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform-api/src/main/java/com/flow/platform/api/controller/GitWebHookController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public void onEventReceived(@RequestHeader HttpHeaders headers, HttpServletReque
6969
Map<String, String> headerAsMap = headers.toSingleValueMap();
7070
String body;
7171
try {
72+
request.setCharacterEncoding("utf8");
7273
body = CharStreams.toString(request.getReader());
7374
} catch (IOException e) {
7475
throw new IllegalStatusException("Cannot read raw body");

0 commit comments

Comments
 (0)