netty5/codec-http/src/main/java/io/netty/handler/codec/http
radai-rosenblatt 886a7aae46 Fix timestamp parsing in HttpHeaderDateFormatter
Motivation:
code assumes a numeric value of 0 means no digits were read between separators, which fails for timestamps like 00:00:00.
also code accepts invalid timestamps like 0:0:000

Modifications:
explicitly check for number of digits between separators instead of relying on the numeric value.
also add tests.

Result:
timestamps with 00 successfully parse, timestamps with 000 no longer

Signed-off-by: radai-rosenblatt <radai.rosenblatt@gmail.com>
2016-11-21 10:17:54 +01:00
..
cookie Fix cookie date parsing, close #6016 2016-11-18 11:22:21 +00:00
cors CorsHandler to respect http connection (keep-alive) header. 2016-09-06 07:18:53 +02:00
multipart Removed custom split method as it is not effective anymore. 2016-08-01 21:49:33 +02:00
websocketx WebSocketClientHandshaker.rawPath(URI) should use the raw query 2016-11-14 08:45:27 +01:00
ClientCookieEncoder.java Fix javadoc links and tags 2015-12-26 08:34:31 +01:00
CombinedHttpHeaders.java Add unescapeCsvFields to parse a CSV line and implement CombinedHttpHeaders.getAll 2016-02-15 15:26:15 -08:00
ComposedLastHttpContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
Cookie.java Deprecation cleanup for HTTP headers 2015-09-09 14:30:21 -07:00
CookieDecoder.java Removed custom split method as it is not effective anymore. 2016-08-01 21:49:33 +02:00
CookieUtil.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
DefaultCookie.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00
DefaultFullHttpRequest.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultFullHttpResponse.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultHttpContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultHttpHeaders.java HTTP/2 HPACK Header Name Validation and Trailing Padding 2016-05-17 13:42:16 -07:00
DefaultHttpMessage.java Add a possibility to create HttpMessage instances with pre-existing Headers 2015-12-31 08:52:30 +01:00
DefaultHttpObject.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
DefaultHttpRequest.java Add a possibility to create HttpMessage instances with pre-existing Headers 2015-12-31 08:52:30 +01:00
DefaultHttpResponse.java Add a possibility to create HttpMessage instances with pre-existing Headers 2015-12-31 08:52:30 +01:00
DefaultLastHttpContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
EmptyHttpHeaders.java Deprecation cleanup for HTTP headers 2015-09-09 14:30:21 -07:00
FullHttpMessage.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
FullHttpRequest.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
FullHttpResponse.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
HttpChunkedInput.java Fix possible NPE in HttpCunkedInput if wrapped ChunkedInput.readChunk(...) return null. 2016-06-17 06:27:04 +02:00
HttpClientCodec.java HttpObjectDecoder configurable initial buffer size 2016-02-07 21:23:29 -08:00
HttpClientUpgradeHandler.java codec-http: HttpClientUpgradeHandler can handle streamed responses 2016-11-01 06:32:41 +01:00
HttpConstants.java [#4010] Correctly handle whitespaces in HttpPostMultipartRequestDecoder 2015-08-14 21:16:42 +02:00
HttpContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
HttpContentCompressor.java Removed custom split method as it is not effective anymore. 2016-08-01 21:49:33 +02:00
HttpContentDecoder.java [#5892] Correct handle HttpMessage that is EOF terminated 2016-11-01 11:13:44 +01:00
HttpContentDecompressor.java Ensure the same ByteBufAllocator is used in the EmbeddedChannel when compress / decompress. Related to [#5294] 2016-05-31 09:08:33 +02:00
HttpContentEncoder.java [5382] HttpContentEncoder should not set chunked transfer-encoding for HTTP/1.0 2016-06-17 06:35:33 +02:00
HttpExpectationFailedEvent.java HttpObjectAggregator doesn't check content-length header 2015-08-17 09:26:50 -07:00
HttpHeaderDateFormat.java Fix cookie date parsing, close #6016 2016-11-18 11:22:21 +00:00
HttpHeaderDateFormatter.java Fix timestamp parsing in HttpHeaderDateFormatter 2016-11-21 10:17:54 +01:00
HttpHeaderNames.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
HttpHeaders.java Add more HttpHeaders values 2016-11-12 15:54:02 +01:00
HttpHeadersEncoder.java HTTP/2 Headers Type Updates 2015-10-30 15:29:44 -07:00
HttpHeaderValues.java Add more HttpHeaders values 2016-06-14 09:23:21 -07:00
HttpMessage.java Remove 'get' prefix from all HTTP/SPDY messages 2014-06-24 18:03:33 +09:00
HttpMessageUtil.java Implement toString() for all HttpMessage implementations 2014-12-31 18:39:00 +09:00
HttpMethod.java HTTP to HTTP/2 tranlation errors 2015-08-21 11:33:10 -07:00
HttpObject.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
HttpObjectAggregator.java HttpObjectAggregator adds 'Connection: close' header if necessary 2016-11-08 08:43:30 +01:00
HttpObjectDecoder.java HttpObjectDecoder resetRequested not updated after reset 2016-09-22 10:58:44 -07:00
HttpObjectEncoder.java cleanup, duplicated static final fields 2016-08-10 11:13:26 +02:00
HttpRequest.java Fix errors reported by javadoc 2015-12-27 08:36:45 +01:00
HttpRequestDecoder.java HttpObjectDecoder configurable initial buffer size 2016-02-07 21:23:29 -08:00
HttpRequestEncoder.java Clean-up unused imports 2016-09-30 09:08:50 +02:00
HttpResponse.java Fix errors reported by javadoc 2015-12-27 08:36:45 +01:00
HttpResponseDecoder.java HttpObjectDecoder configurable initial buffer size 2016-02-07 21:23:29 -08:00
HttpResponseEncoder.java cleanup, duplicated static final fields 2016-08-10 11:13:26 +02:00
HttpResponseStatus.java HTTP/2 Headers Type Updates 2015-10-30 15:29:44 -07:00
HttpScheme.java HttpScheme class 2015-08-20 09:59:23 -07:00
HttpServerCodec.java HttpObjectDecoder configurable initial buffer size 2016-02-07 21:23:29 -08:00
HttpServerKeepAliveHandler.java Add HttpServerKeepAliveHandler 2016-09-15 15:59:21 -07:00
HttpServerUpgradeHandler.java Correctly handle UpgradeEvent.release(decrement). 2016-03-20 09:34:12 +01:00
HttpStatusClass.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
HttpUtil.java Deprecate HttpUtil.getCharsetAsString(...) and introduce HttpUtil.getCharsetAsSequence(...). 2016-11-21 07:47:20 +01:00
HttpVersion.java Refactor of HttpUtil and HttpHeaderUtil 2015-08-27 08:49:58 -07:00
LastHttpContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
QueryStringDecoder.java Fix #5590 QueryStringDecoder#path should decode the path info 2016-07-27 09:29:54 +02:00
QueryStringEncoder.java Remove 'get' prefix from all HTTP/SPDY messages 2014-06-24 18:03:33 +09:00
ServerCookieEncoder.java Validate cookie name and value characters Motivation: 2015-05-07 06:33:36 +02:00