io.netty.handler.codec.http.multipart.HttpPostRequestDecoder$ErrorDataDecoderException: Bad string invalid escape sequence

Viewed 99

When the http content contains the char % ,io.netty.handler.codec.http.QueryStringDecoder.decodeComponent() will throw a IllegalArgumentException with message: invalid escape sequence `%" .......

Does that mean that the http content cannot contain the char %? The request param is json str:

{"discountRate":"10%"}

The detail of the code can not show;

1 Answers
Related