netty5/codec-http/src
Frederic Bregier d6e7997f8d Master - Fix "=" character in HttpPostRequestDecoder
Motivation
Issue #3004 shows that "=" character was not supported as it should in
the HttpPostRequestDecoder in form-data boundary.

Modifications:
Add 2 methods in StringUtil

split with maxParts: String split with a max parts only (to prevent multiple '=' to
be source of extra split while not needed)
substringAfter: String part after delimiter (since first part is not needed)
Use those methods in HttpPostRequestDecoder. Change and the
HttpPostRequestDecoderTest to check using a boundary beginning with "=".

Results:
The fix implies more stability and fix the issue.
2014-10-18 01:14:28 +02:00
..
main/java/io/netty/handler/codec Master - Fix "=" character in HttpPostRequestDecoder 2014-10-18 01:14:28 +02:00
test Add a test for handover from HTTP to Websocket 2014-10-13 07:19:12 +02:00