HttpResponseHeaders::GetAgeValue() allows for leading plus |
|||||
Issue descriptionby virtue of using base::StringToInt() and not checking for a leading plus.
,
Mar 23 2016
,
Mar 24 2016
It also allows negative numbers, which is inconsistent with the definition in RFC 2616.
,
Apr 11 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2a545c6ef2899f1218bfd06ee6ff9666a8ff304f commit 2a545c6ef2899f1218bfd06ee6ff9666a8ff304f Author: eroman <eroman@chromium.org> Date: Mon Apr 11 20:59:07 2016 Fix number parsing problems with HttpResponseHeaders::GetAgeValue() to not accept invalid numbers. BUG=596523, 596554 Review URL: https://codereview.chromium.org/1827243002 Cr-Commit-Position: refs/heads/master@{#386467} [modify] https://crrev.com/2a545c6ef2899f1218bfd06ee6ff9666a8ff304f/net/http/http_response_headers.cc [modify] https://crrev.com/2a545c6ef2899f1218bfd06ee6ff9666a8ff304f/net/http/http_response_headers.h [modify] https://crrev.com/2a545c6ef2899f1218bfd06ee6ff9666a8ff304f/net/http/http_response_headers_unittest.cc
,
Apr 11 2016
,
Jul 6
,
Jul 6
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by eroman@chromium.org
, Mar 21 2016