Skip to content

Commit

Permalink
Remove debug log to avoid potential String decode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zhicwu committed Jan 12, 2021
1 parent 3e63ea3 commit e62d7bb
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,10 @@ private void responseHandlers(RoutingContext ctx) {
log.debug("[{}] Parameters:\n{}", path, req.params());
}

if (log.isTraceEnabled()) {
log.trace("[{}] Body:\n{}", path, ctx.getBodyAsString());
}
// bad assumption here as it may lead to UTF8 decode issue like #83
// if (log.isTraceEnabled()) {
// log.trace("[{}] Body:\n{}", path, ctx.getBodyAsString());
// }

HttpServerResponse resp = ctx.response();

Expand Down

0 comments on commit e62d7bb

Please sign in to comment.