]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core,modules: provide/use ap_parse_strict_length() helper.
authorYann Ylavic <ylavic@apache.org>
Wed, 20 May 2020 14:01:17 +0000 (14:01 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 20 May 2020 14:01:17 +0000 (14:01 +0000)
commit11d03dc86a9642a4af44c40122299b7efad47775
tree23576af687aa6d5ad87abb8307bb4e3006741f1e
parentc03f75c6c346adf7b665c01b20bdf4e5b1eca8b3
core,modules: provide/use ap_parse_strict_length() helper.

It helps simplifying a lot of duplicated code based on apr_strtoff(), while
also rejecting leading plus/minus signs which are dissalowed in Content-Length
and (Content-)Range headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877954 13f79535-47bb-0310-9956-ffa450edef68
19 files changed:
docs/log-message-tags/next-number
include/ap_mmn.h
include/httpd.h
modules/apreq/filter.c
modules/cache/mod_cache.c
modules/cache/mod_cache_disk.c
modules/cache/mod_cache_socache.c
modules/dav/main/mod_dav.c
modules/filters/mod_data.c
modules/filters/mod_reflector.c
modules/filters/mod_request.c
modules/http/byterange_filter.c
modules/http/http_filters.c
modules/mappers/mod_negotiation.c
modules/proxy/mod_proxy.c
modules/proxy/mod_proxy_ajp.c
modules/proxy/mod_proxy_http.c
server/apreq_module_cgi.c
server/util.c