]>
git.ipfire.org Git - thirdparty/apache/httpd.git/log
Giovanni Bechis [Tue, 4 Apr 2023 21:34:57 +0000 (21:34 +0000)]
add SSL_CTX_set_session_id_context(3) checks
bz #66226
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908971 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Tue, 4 Apr 2023 16:46:05 +0000 (16:46 +0000)]
check SSL_do_handshake(3) return value
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908964 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Mon, 3 Apr 2023 09:03:51 +0000 (09:03 +0000)]
SSL_do_handshake can fail with 0 or <0 status codes.
spotted and fixed by rpluem@
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908936 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 3 Apr 2023 07:38:34 +0000 (07:38 +0000)]
* Use latest released versions of APR and APR-UTIL for building
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908933 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 1 Apr 2023 14:39:03 +0000 (14:39 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908898 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 1 Apr 2023 14:36:16 +0000 (14:36 +0000)]
fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908897 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 1 Apr 2023 14:33:49 +0000 (14:33 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908896 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 1 Apr 2023 14:31:50 +0000 (14:31 +0000)]
Misplaced tag.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908895 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 1 Apr 2023 14:12:29 +0000 (14:12 +0000)]
Misplaced tag.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908894 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sat, 1 Apr 2023 08:58:08 +0000 (08:58 +0000)]
Trigger ci.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908885 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sat, 1 Apr 2023 08:43:49 +0000 (08:43 +0000)]
mpm_event: useful APLOG_DEBUG messages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908883 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 31 Mar 2023 15:11:00 +0000 (15:11 +0000)]
Sync CHANGES.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908867 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 31 Mar 2023 08:51:33 +0000 (08:51 +0000)]
Follow up to r1908827: CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908838 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Fri, 31 Mar 2023 07:21:37 +0000 (07:21 +0000)]
Try running CI for 2.* tags. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908835 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 31 Mar 2023 00:11:02 +0000 (00:11 +0000)]
mod_proxy: Check for space/ctrls in nocanon path/urls before forwarding.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908827 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 31 Mar 2023 00:08:40 +0000 (00:08 +0000)]
Steal some APLOGNOs for next commit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908826 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Thu, 30 Mar 2023 20:32:19 +0000 (20:32 +0000)]
fix regression in 2.4.56
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908813 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Thu, 30 Mar 2023 17:09:09 +0000 (17:09 +0000)]
check for more possible SSL failures
bz #66225
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908805 13f79535 -47bb-0310-9956-
ffa450edef68
manu [Wed, 29 Mar 2023 15:19:19 +0000 (15:19 +0000)]
Document DavQuota (english and french)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908782 13f79535 -47bb-0310-9956-
ffa450edef68
manu [Wed, 29 Mar 2023 15:02:55 +0000 (15:02 +0000)]
Document DavMSext (english and french)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908781 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Tue, 28 Mar 2023 21:12:47 +0000 (21:12 +0000)]
Fix a possible null pointer dereference in ap_expr_parse()
In ap_expr_parse(), ap_expr_yylex_init() will return 1 on failure,
and ctx.scanner will remain NULL. However the return value of
ap_expr_yylex_init() is not checked, and there is a dereference of
ctx.scanner in following function ap_expr_yyset_extra(),
which may lead to NULL pointer dereference.
Fix this bug by adding return value check of ap_expr_yylex_init.
Submitted by: Zhou Qingyang <zhou1615@umn.edu>
Github: closes #308
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908772 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 25 Mar 2023 14:04:43 +0000 (14:04 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908714 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 25 Mar 2023 14:01:24 +0000 (14:01 +0000)]
fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908713 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 25 Mar 2023 13:57:46 +0000 (13:57 +0000)]
fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908712 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Fri, 24 Mar 2023 16:16:29 +0000 (16:16 +0000)]
*) mod_http2: fixed a crash during connection termination. See PR 66539.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908691 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Fri, 24 Mar 2023 08:50:19 +0000 (08:50 +0000)]
add error message when storing data to temp file fails.
Github: closes #182
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908684 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Thu, 23 Mar 2023 16:23:12 +0000 (16:23 +0000)]
check apreq_cookie_make return value
Github: closes #302
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908673 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 23 Mar 2023 15:14:04 +0000 (15:14 +0000)]
* modules/lua: Use https: URLs for httpd.a.o in docs. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908672 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 23 Mar 2023 15:11:59 +0000 (15:11 +0000)]
mod_wombat => mod_lua
Fix SVN URL
Submitted by: Sebb <sebb@apache.org>
Github: closes #352
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908671 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Thu, 23 Mar 2023 08:02:47 +0000 (08:02 +0000)]
fix separator parsing, PR #333
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908658 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Thu, 23 Mar 2023 07:49:47 +0000 (07:49 +0000)]
typo, PR #344 [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908657 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 22 Mar 2023 08:21:42 +0000 (08:21 +0000)]
* Fix typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908629 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 22 Mar 2023 08:01:31 +0000 (08:01 +0000)]
* Whitespace fixes. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908628 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 21 Mar 2023 12:42:57 +0000 (12:42 +0000)]
Fix new flag name in docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908610 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 20 Mar 2023 15:23:04 +0000 (15:23 +0000)]
ci: Restore MOD_TLS test suite with the python3-multipart package.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908578 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 20 Mar 2023 15:21:48 +0000 (15:21 +0000)]
pytests: test_tls_04_double_get does not want stdout separator for multiple responses.
Add no_stdout_list parameter to env.tls_get() thus to curl_raw() too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908577 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 20 Mar 2023 15:03:44 +0000 (15:03 +0000)]
pytests: test_tls_05_proto_1_3: Don't rely on TlsTestEnv.curl_supports_tls_1_3() (always False).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908575 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 20 Mar 2023 15:02:13 +0000 (15:02 +0000)]
pytests: Use python3-multipart lib.
Use the API of https://github.com/andrew-d/python-multipart, available as
package python3-multipart on Debian/Ubuntu.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908574 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 20 Mar 2023 11:22:21 +0000 (11:22 +0000)]
ci: Disable MOD_TLS test suite for now (never passing).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908561 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 20 Mar 2023 10:48:07 +0000 (10:48 +0000)]
Follow up to r1908380: MMN minor bump for AP_CTIME_OPTION_GMTOFF.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908557 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 20 Mar 2023 10:47:05 +0000 (10:47 +0000)]
util_time: Follow up to r1908380 and r1908389: apr_strings.h not needed anymore.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908556 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sun, 19 Mar 2023 22:01:03 +0000 (22:01 +0000)]
ci: -Werror does not need -Wno-deprecated-declarations anymore for openssl >= 3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908542 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sun, 19 Mar 2023 21:33:51 +0000 (21:33 +0000)]
mod_md: Fix compat warnings with OpenSSL 3.0.
* md/md_crypt.c(md_pkey_get_rsa_e64, md_pkey_get_rsa_n64):
Replace deprecated RSA api with EVP_PKEY_get_bn_param on openssl >= 3.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908539 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sun, 19 Mar 2023 21:30:47 +0000 (21:30 +0000)]
mod_ssl: Fix deprecation warnings with openssl-3.
* mod_ssl_openssl.h:
Make it the first openssl to be included openssl header, selecting the
OpenSSL api based on OPENSSL_API_COMPAT eventually.
* ssl_private.h;
Define OPENSSL_API_COMPAT to version 1.1.1 (last one supporting EGINE_ API)
before including mod_ssl_openssl.h to enable the ENGINE_ api (TODO: switch to
new "providers" api before the ENGINE_ api is abandonned..).
mod_ssl.h is now implicitely included from there.
Fix preprocessor "#define FOO (COND)" to "#if COND #define FOO 1 #else #define FOO 0".
Define MODSSL_HAVE_ENGINE_API iff OPENSSL_API_COMPAT < 3.0 (otherwise all the
engine features are disabled, only "builtin" is accepted).
Define HAVE_SRP iff OPENSSL_API_COMPAT < 3.0 (no replacement for this api
above, so it might not be implemenentedain httpd anymore at some point..).
Define X509_get_not{Before,After} if missing to the non deprecated version.
New modssl_set_io_callbacks() to factorize compat code for io callbacks.
ssl_dh_GetParamFromFile() becomes modssl_dh_from_file() for openssl < 3.0 and
modssl_dh_pkey_from_file() for openssl >= 3.0.
* mod_ssl.c, mod_ssl_ct.c, ssl_util_stapling:
Including "ssl_private.h" only is suited/enough now.
* mod_ssl_ct.c, ssl_ct_log_config:
Use EVP api with openssl >= 3 instead of the deprecated SHA256 one.
* ssl_engine_config.c(ssl_cmd_SSLCryptoDevice):
Disabled engines (besides NULL/"builtin"/NULL) unless MODSSL_HAVE_ENGINE_API.
* ssl_engine_init:
New compat modssl_runtime_lib_version() to address deprecated SSLeay().
ssl_init_Engine() does nothing unless MODSSL_HAVE_ENGINE_API.
Simplify ssl_init_server_certs() (less #ifdef-ery) with scoped local vars.
Compat loading DH parameters and EC curve from cert.
* ssl_engine_io.c, ssl_engine_kernel.c:
Implement common modssl_set_io_callbacks() and use it.
* ssl_engine_pphrase(modssl_load_engine_keypair):
Depend on MODSSL_HAVE_ENGINE_API, or return ENOTIMPL.
* ssl_util.c(modssl_is_engine_id):
No engine supported unless MODSSL_HAVE_ENGINE_API.
* ssl_util_ssl.c(modssl_dh_pkey_from_file, modssl_ec_group_from_file):
Compat with openssl >= 3.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908537 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 19 Mar 2023 21:04:00 +0000 (21:04 +0000)]
rerun failing tests with -v
Submitted by: covener
Github: closes #349
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908531 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sat, 18 Mar 2023 15:28:33 +0000 (15:28 +0000)]
mod_http2: Fix memory leak in calc_sha256_hash().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908502 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 18 Mar 2023 14:55:53 +0000 (14:55 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908497 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 18 Mar 2023 14:54:47 +0000 (14:54 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908496 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 18 Mar 2023 14:52:15 +0000 (14:52 +0000)]
Typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908495 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 16 Mar 2023 14:36:01 +0000 (14:36 +0000)]
ab: Use new openssl-3 API when available.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908440 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 15 Mar 2023 20:34:09 +0000 (20:34 +0000)]
no longer correct
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908425 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 15 Mar 2023 14:13:09 +0000 (14:13 +0000)]
Repurpose test for apr-1.8.x (1.7.x being tested elsewhere already).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908415 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 15 Mar 2023 10:55:17 +0000 (10:55 +0000)]
Update ErrorLogFormat CHANGES entry for the full story.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908407 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 15 Mar 2023 10:42:57 +0000 (10:42 +0000)]
core: Follow up to r1908393: comment about where ap_server_conf is set.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908406 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 14 Mar 2023 16:01:14 +0000 (16:01 +0000)]
core: Follow up to r1908393: ap_server_conf to NULL before ap_read_config().
Just to be sure..
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908394 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 14 Mar 2023 15:48:41 +0000 (15:48 +0000)]
core: Set ap_server_conf ASAP.
* server/config.c(ap_read_config):
Set ap_server_conf as soon as it exists (with defaults).
* server/main.c(main):
Now that ap_server_conf is set by ap_read_config(), just make
sure it's not NULL afterward with an ap_assert()ion.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908393 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 14 Mar 2023 15:43:27 +0000 (15:43 +0000)]
log: Follow up to r1908388: ap_server_conf might be NULL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908390 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 14 Mar 2023 15:41:42 +0000 (15:41 +0000)]
util_time: Follow up to r1908380: Avoid apr_snprintf() like others.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908389 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 14 Mar 2023 14:37:00 +0000 (14:37 +0000)]
core: Use the main ErrorLogFormat for ap_log_perror() and while loading vhosts.
* server/core.c(create_core_server_config):
Init sconf->error_log_format early so that it applies while the vhost
is loading.
* server/log.c(log_error_core):
Get the core_server_config from the main server if no server/config is
provided.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908388 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 14 Mar 2023 12:24:37 +0000 (12:24 +0000)]
util_time: Follow up to r1908383: ap_recent_ctime_ex() docx about trailing NUL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908384 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 14 Mar 2023 12:19:34 +0000 (12:19 +0000)]
util_time: Note/comments about ap_recent_ctime_ex() correctness wrt trailing \0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908383 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 14 Mar 2023 11:11:24 +0000 (11:11 +0000)]
core: Add formats %{z} and %{strftime-format} to ErrorLogFormat. PR 62161.
%{z} prints the timezone offset (i.e. "[+-]nnnn") and %{strftime-format} allows
any %-format handled by [apr_]strftime().
* include/util_time.h():
Define new AP_CTIME_OPTION_GMTOFF option for ap_recent_ctime_ex().
* server/util_time.c(ap_recent_ctime_ex):
Handle AP_CTIME_OPTION_GMTOFF to print "[+-]nnnn" timezone.
* server/log.c(log_ctime):
If the format contains a '%' it's for strftime(), otherwise it's builtin
with new 'z' as AP_CTIME_OPTION_GMTOFF.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908380 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 13 Mar 2023 21:22:09 +0000 (21:22 +0000)]
mod_rewrite's BNEG now replaced by BNE=
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908360 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 13 Mar 2023 21:17:52 +0000 (21:17 +0000)]
mod_rewrite: Follow up to r1908347: Use [B, BNE=...] rather than [B=...,BNEG].
Replaces BNEG with BNE= for a more flexible syntax.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908359 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 13 Mar 2023 17:51:39 +0000 (17:51 +0000)]
clarify relationship
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908353 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 13 Mar 2023 15:52:49 +0000 (15:52 +0000)]
doc BNEG, improve related
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908352 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 13 Mar 2023 15:40:58 +0000 (15:40 +0000)]
unclosed
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908351 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 13 Mar 2023 13:49:13 +0000 (13:49 +0000)]
mod_rewrite: New BNEG flag to negate B=, BCTLS and B= not mutually exclusive.
* modules/mappers/mod_rewrite.c(escape_backref):
Handle [B=...,BNEG] to encode anthing not in B=, and [B=...,BCTLS] to
encode both controls/space characters and anything set in B=.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908347 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 13 Mar 2023 10:24:30 +0000 (10:24 +0000)]
Do not double encode encoded slashes
In case that AllowEncodedSlashes is set to NoDecode do not double encode
encoded slashes in the URL sent by the reverse proxy to the backend.
* include/ap_mmn.h: Document the addition of ap_proxy_canonenc_ex to the API.
* modules/proxy/mod_proxy.h: Declare ap_proxy_canonenc_ex and define flag
values.
* modules/proxy/proxy_util.c: Implement ap_proxy_canonenc_ex by modifying
ap_proxy_canonenc accordingly and reimplement ap_proxy_canonenc to
use ap_proxy_canonenc_ex with the appropriate flag.
* modules/http2/mod_proxy_http2.c, modules/proxy/mod_proxy_*.c: Set the
correct flag based on the AllowEncodedSlashes configuration and use
ap_proxy_canonenc_ex instead of ap_proxy_canonenc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908341 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 13 Mar 2023 09:34:53 +0000 (09:34 +0000)]
Stop dumping error_log on failure, since is is now captured
(at least in theory) as an artefact.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908340 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 13 Mar 2023 09:25:46 +0000 (09:25 +0000)]
* Favour HUGE_STRING_LEN * 2 over 1024 * 16
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908339 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 11 Mar 2023 22:40:11 +0000 (22:40 +0000)]
move B=xx example to the bottom
show example with quoted flags and a space
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908302 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 11 Mar 2023 22:10:09 +0000 (22:10 +0000)]
add [BCTLS] alternative to [B] for 2.4.56 problems
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908301 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 11 Mar 2023 21:29:11 +0000 (21:29 +0000)]
followup to r1908296: only for redirects
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908299 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 11 Mar 2023 20:57:52 +0000 (20:57 +0000)]
allow decoded chars when they will be escaped
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908296 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 11 Mar 2023 16:15:57 +0000 (16:15 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908284 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 11 Mar 2023 16:14:27 +0000 (16:14 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908283 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 10 Mar 2023 21:02:31 +0000 (21:02 +0000)]
mod_proxy: Check the query-string for proxy-noencode too.
Follow up to r1907972 and r1908095.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908257 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Thu, 9 Mar 2023 23:13:42 +0000 (23:13 +0000)]
iFix proxy backend connection reuse tests.
Use one curl exec with multiple URLs instead of separate
curl calls, so that we make sure we use the same
connection to the web server ending up in the same
httpd child process.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908230 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Thu, 9 Mar 2023 23:02:32 +0000 (23:02 +0000)]
Support splitting mutiple outputs when using curl with
multiple URLs. E.g. provide a JSON array with the
individual JSON responses as items.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908229 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Thu, 9 Mar 2023 22:59:20 +0000 (22:59 +0000)]
Make test more robust, log might have a short delay.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908228 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Thu, 9 Mar 2023 10:52:14 +0000 (10:52 +0000)]
Fix tests test_202_trailer.py::TestTrailers::test_h2_202_03b
and test_202_trailer.py::TestTrailers::test_h2_202_04 by adding
an explicit Content-Type header to the nghttp call.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908220 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 8 Mar 2023 09:55:07 +0000 (09:55 +0000)]
* Add CHANGES entry for r1907505 [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908186 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 7 Mar 2023 08:07:05 +0000 (08:07 +0000)]
* Fix 'warning: suggest parentheses around assignment used as truth value'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908152 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 7 Mar 2023 07:34:08 +0000 (07:34 +0000)]
* Add a 'be' [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908150 13f79535 -47bb-0310-9956-
ffa450edef68
manu [Tue, 7 Mar 2023 01:51:02 +0000 (01:51 +0000)]
Use ap_parse_strict_length() to parse client-supplied Content-Length
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908144 13f79535 -47bb-0310-9956-
ffa450edef68
manu [Tue, 7 Mar 2023 01:28:59 +0000 (01:28 +0000)]
Remove usuless double check of APR_FINFO_NAME neing set
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908143 13f79535 -47bb-0310-9956-
ffa450edef68
Dirk-Willem van Gulik [Mon, 6 Mar 2023 17:46:04 +0000 (17:46 +0000)]
Add SSL_SHARED_CIPHER environment variable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908132 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 6 Mar 2023 09:24:44 +0000 (09:24 +0000)]
* modules/http2/mod_proxy_http2.c: Fix missing APLOGNO.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908116 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 5 Mar 2023 20:31:40 +0000 (20:31 +0000)]
avoid delimiting the query with a backreference
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908097 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 5 Mar 2023 20:27:11 +0000 (20:27 +0000)]
don't forward invalid query strings
Submitted by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908095 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Sun, 5 Mar 2023 09:59:34 +0000 (09:59 +0000)]
*) mod_md:
- Enabling
ED25519 support and certificate transparency information when
building with libressl v3.5.0 and newer. Thanks to Giovanni Bechis.
- MDChallengeDns01 can now be configured for individual domains.
Thanks to Jérôme Billiras (@bilhackmac) for the initial PR.
- Fixed a bug found by Jérôme Billiras (@bilhackmac) that caused the challenge
teardown not being invoked as it should.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908080 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Sun, 5 Mar 2023 09:42:53 +0000 (09:42 +0000)]
*) mod_htt2: recent small improvements from the github/icing/mod_h2
- conditional use of ap_thread* to allow compilation on older versions
- fixed checks on CONNECT requests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908079 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Sat, 4 Mar 2023 13:40:38 +0000 (13:40 +0000)]
Test case updates related to macOS ventura changes:
- python 3.11 deprecates the `cg` module, replacing
url query and multipart form-data handling with new code
- adaptions to changes in openssl/curl behaviours
- all mod_tls test cases now have prefix `test_tls_` for
easier scoping.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1908060 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Thu, 2 Mar 2023 19:50:12 +0000 (19:50 +0000)]
s/to to/to/
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1907993 13f79535 -47bb-0310-9956-
ffa450edef68
manu [Thu, 2 Mar 2023 16:09:50 +0000 (16:09 +0000)]
Add RFC4331 quotas for mod_dav_fs
Fix warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1907989 13f79535 -47bb-0310-9956-
ffa450edef68
manu [Thu, 2 Mar 2023 15:46:12 +0000 (15:46 +0000)]
Add RFC4331 quotas for mod_dav_fs
Address forgotten svn add in previous commit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1907984 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 2 Mar 2023 15:24:08 +0000 (15:24 +0000)]
Sync changes [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1907983 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 2 Mar 2023 15:10:30 +0000 (15:10 +0000)]
mod_proxy_uwsgi: Stricter backend HTTP response parsing/validation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1907980 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 2 Mar 2023 15:03:20 +0000 (15:03 +0000)]
Follow up to r1907972: CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1907977 13f79535 -47bb-0310-9956-
ffa450edef68