1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00

Commit Graph

  • 4ff70300c4 * modules/md/md_util.h, modules/md/md_util.c (md_util_exec_cmdline): New function, tokenizing only the configured command line and passing the remaining arguments verbatim. Joe Orton 2026-09-24 15:31:56 +00:00
  • 4231ec41f7 * test/modules/filters/test_003_sed.py: New test suite. Joe Orton 2026-09-24 14:49:00 +00:00
  • 1a824c67f3 * test/pyhttpd/env.py (HttpdTestSetup._cgi_module, HttpdTestSetup.add_cgi_module): New, so a suite can ask for CGI without naming mod_cgid. (HttpdTestSetup._make_modules_conf): Use _cgi_module() for a requested "cgid" on every platform, not just Windows. Joe Orton 2026-09-24 14:48:33 +00:00
  • 4817f1f140 * docs/manual/mod/mod_sed.xml: OutputSed and InputSed are ACCESS_CONF, so drop .htaccess from their context list. Joe Orton 2026-09-24 14:48:26 +00:00
  • 42ecb38641 * modules/filters/regexp.c (_advance): Treat a starred backreference to a capture which matched nothing as matching once; both loops step the input pointer by the capture length and so never terminate. Joe Orton 2026-09-24 14:48:19 +00:00
  • 598a8e1394 * modules/filters/sed1.c (eval_errf): Declare with a printf format attribute, and don't pass a runtime string as the format. Joe Orton 2026-09-24 14:48:07 +00:00
  • ef867975f7 * modules/filters/sed1.c (command): Take the octal digits the LCOM case writes off the unsigned byte value, not off a sign-extended char. Joe Orton 2026-09-24 14:47:58 +00:00
  • cb924d6bfa * modules/filters/sed1.c (command): Fix ->abuf handling. Joe Orton 2026-09-24 14:47:38 +00:00
  • 5936453b90 mod_sed: Don't drop the EOS when evaluation fails: Joe Orton 2026-09-24 14:46:53 +00:00
  • ad932d7c2d APACHE_CHECK_CURL: Cache MOD_CFLAGS and MOD_LDFLAGS Rainer Jung 2026-09-22 16:13:07 +00:00
  • 65c529a0d9 Add docs for a2md Rainer Jung 2026-09-22 15:16:21 +00:00
  • 4bc3d1abde Remove uused variable from a2md Makefile Rainer Jung 2026-09-22 09:19:11 +00:00
  • d0078d2e24 Fix a2md build when jansson is not in system path Rainer Jung 2026-09-22 08:32:03 +00:00
  • 0e8b8071f0 APACHE_CHECK_JANSSON: Cache MOD_CFLAGS and MOD_LDFLAGS Rainer Jung 2026-09-22 07:57:30 +00:00
  • 85b4876c8f Prevent 'f-string expression part cannot include a backslash' Rainer Jung 2026-09-22 07:53:23 +00:00
  • d4d8d3a942 Prevent 'f-string expression part cannot include a backslash' Rainer Jung 2026-09-22 07:53:09 +00:00
  • 96276a79a3 Prevent 'f-string expression part cannot include a backslash' Rainer Jung 2026-09-22 07:52:20 +00:00
  • 54730cc725 fr doc rebuild. Lucien Gentis 2026-09-19 13:49:20 +00:00
  • 93f428dbd9 fr doc : new XML file and XML files updates. Lucien Gentis 2026-09-19 13:47:15 +00:00
  • 527cbd67e5 2x merged. Joe Orton 2026-09-18 16:47:26 +00:00
  • 48f9ad3f0b Merge r1937525, r1937527, r1937528 from trunk: Joe Orton 2026-09-18 16:47:08 +00:00
  • 727e9b9b6c Merge r1935577 from trunk: Joe Orton 2026-09-18 06:54:37 +00:00
  • 7b93fd7027 mod_sed: fix out-of-bounds read when a y/// command has mismatched string lengths Joe Orton 2026-09-17 21:17:38 +00:00
  • 6340a316eb mod_http2: log request header limit violations only once per stream. Joe Orton 2026-09-17 19:12:18 +00:00
  • e234cb300f Vote, promote Rainer Jung 2026-09-17 18:14:55 +00:00
  • 041e989bda mod_slotmem_*: Consolidate slot layout size calculations and harden I/O. Joe Orton 2026-09-17 18:00:04 +00:00
  • 6b94ab310e * modules/test/mod_dialup.c (dialup_handler): And log the rv. [skip ci] Joe Orton 2026-09-17 16:39:53 +00:00
  • 0d71c89045 * modules/test/mod_dialup.c (dialup_handler): Log the filename when apr_file_open() fails. Joe Orton 2026-09-17 16:35:11 +00:00
  • bc3a3ec40b * modules/md/md_acme_acct.c (acct_select): Guard the ctx->md dereference in the debug log message, using "(none)" when no md is present. Joe Orton 2026-09-17 14:42:29 +00:00
  • ba3d76a275 * modules/metadata/mod_mime_libmagic.c (register_hooks): Tweak ordering to run before mod_mime_magic if enabled. Joe Orton 2026-09-17 08:29:18 +00:00
  • 8983e3a2ce * modules/filters/mod_substitute.c (do_pattmatch): Enforce max line length on unmatched tail. Account for the unmatched tail after a successful substitution before emitting the result. This keeps SubstituteMaxLineLength effective for flattened literal substitutions and for both regular-expression paths. Joe Orton 2026-09-17 06:52:02 +00:00
  • df322cdff8 CI: Add a sanity job to check the docs XML, and run the sanity workflow for all changes to docs/. Joe Orton 2026-09-17 06:46:24 +00:00
  • 30c739e342 * test/gha-docs-check.sh: New script, checking that the manual's XML sources are well-formed and valid against their DTDs. [skip ci] Joe Orton 2026-09-17 06:46:01 +00:00
  • 78fda16525 * docs/manual/rewrite/*.xml.ko: Declare the encoding as UTF-8, which these files use, rather than EUC-KR. Joe Orton 2026-09-17 06:45:41 +00:00
  • 9c290da241 Revert r1938297 - mod_md tests now hung / timed out in https://github.com/apache/httpd/actions/runs/35140492695/job/104943495269 Joe Orton 2026-09-16 21:26:49 +00:00
  • 5105d900ef * test/pyhttpd/env.py (apache_fail): Check the exit code of the "start" result rather than comparing the ExecResult to 0, which never matched, so a started server was never waited for and could race with the next test. Joe Orton 2026-09-16 19:25:25 +00:00
  • 1c838de136 * modules/dav/fs/repos.c (dav_fs_copymove_file): Log the pathname when opening the source or destination file fails. Joe Orton 2026-09-16 18:38:59 +00:00
  • 82313d0a96 * modules/metadata/mod_remoteip.c (remoteip_modify_request): Trim trailing spaces using a one-past-the-end pointer, so the pointer is never decremented to before the start of the buffer when the token is empty. Test for an empty token with equality instead. Joe Orton 2026-09-16 14:36:32 +00:00
  • d3a6a151c5 * modules/http/http_protocol.c (make_allow): Don't check for the M_INVALID bit being set in the method mask if unregistered methods are allowed. That bit is never set by ap_method_list_add(), and this branch adding unregistered methods to Allow: never followed. Joe Orton 2026-09-16 14:27:37 +00:00
  • 1422c19ea3 * include/httpd.h (request_rec): Rename "allowed_xmethods" field to "unused" - this field has been present in request_rec since r86043 (702dd42de, August 2000) but any use of it was removed in r86210 (5d50a3e27, September 2000) which predates any stable 2.0 release. Joe Orton 2026-09-16 07:30:33 +00:00
  • c19eadc384 * test/pytest_suite: Remove some left-behind generated files, update svn:ignore and .gitignore to ignore them. Joe Orton 2026-09-15 18:51:54 +00:00
  • 53737de6e0 CI: Run the sanity workflow for changes to docs/log-message-tags/*. [skip ci] Joe Orton 2026-09-15 18:26:43 +00:00
  • 4cbee9c967 * docs/: Fix mod_rewrite guide <seealso> link. Joe Orton 2026-09-15 16:32:05 +00:00
  • 79f2473dc5 * docs/: Fix mod_asis handler names in mod_mime docs. Joe Orton 2026-09-15 16:30:24 +00:00
  • e46400864c * test/modules/metadata/test_001_mime_magic.py: Add a regression test for an indirect rule resolving to a negative offset. Joe Orton 2026-09-15 16:27:31 +00:00
  • 1c149373ff * modules/metadata/mod_mime_magic.c (mget): Reject negative offsets and cast to apr_size_t before the bounds check so a negative offset cannot bypass it, both for the direct read and the indirect (INDIR) read. Joe Orton 2026-09-15 16:27:25 +00:00
  • 547cccd1d8 * modules/metadata/mod_mime_magic.c (signextend): Sign-extend long values from 32 bits, so that a rule value with the high bit set compares equal to the data with a 64-bit long. (mconvert): Store the assembled BELONG and LELONG value without sign extension. Joe Orton 2026-09-15 16:25:41 +00:00
  • 425c78634c * modules/metadata/mod_mime_magic.c (mconvert): Assemble BELONG and LELONG values from unsigned bytes, avoiding a left shift overflow when the top byte has the high bit set. Joe Orton 2026-09-15 16:25:31 +00:00
  • 7fe179ee3a * test/modules/metadata/env.py: Load mod_mime_libmagic when built. Joe Orton 2026-09-15 16:25:19 +00:00
  • 336b42f349 Regenerate manpages. Joe Orton 2026-09-15 16:12:12 +00:00
  • 313986a96e Regenerate docs. Joe Orton 2026-09-15 15:10:10 +00:00
  • 2fc5be40ba mod_mime_libmagic: New module, determining MIME types using libmagic(3): Joe Orton 2026-09-15 12:30:46 +00:00
  • b0d28c0a61 Update SVN/git ignores for new files in support/. [skip ci] Joe Orton 2026-09-15 09:15:19 +00:00
  • 33ac0b6d52 Add -DENABLE_MIME_MAGIC=A as in the windows.yml file. Jean-Frederic Clere 2026-09-14 15:35:51 +00:00
  • 246ae2739e core: Add ap_cstr_stripws() to strip trailing whitespace from a NUL-terminated string in place, returning a pointer to the new terminating NUL. Joe Orton 2026-09-14 11:05:50 +00:00
  • c8796414b9 CI: Try to avoid transient errors with stale yum repos when building slapd container. [skip ci] Joe Orton 2026-09-14 10:22:58 +00:00
  • f0d6a2fa66 fr doc rebuild. Lucien Gentis 2026-09-12 13:37:12 +00:00
  • 3d8a524ab2 fr doc XML file update. Lucien Gentis 2026-09-12 13:35:46 +00:00
  • 118b84ae18 fr doc rebuild. Lucien Gentis 2026-09-12 13:35:02 +00:00
  • 0d87724de6 fr doc XML files updates. Lucien Gentis 2026-09-12 13:33:33 +00:00
  • 752003aa4d mod_proxy_beacon: recover pre-existing balancer members on graceful restart Jim Jagielski 2026-09-11 22:48:21 +00:00
  • 176aed0c65 mpm_motorz: track current request for suspend/resume; guard poller re-join Jim Jagielski 2026-09-11 22:31:03 +00:00
  • 4b61a1fc08 RequireAll is missing in our example. Jean-Frederic Clere 2026-09-11 18:05:25 +00:00
  • 93afb5c041 Speed up the tests and xfail some more. Jean-Frederic Clere 2026-09-11 05:29:01 +00:00
  • 26d2cdc670 Fix French description for 0 in H2MaxStreamErrors Jean-Frederic Clere 2026-09-10 15:12:18 +00:00
  • af41fc3340 * test/modules/metadata/__init__.py: Missed in r1938070. Joe Orton 2026-09-10 06:50:28 +00:00
  • 6926aa53b5 * modules/metadata/mod_mime_magic.c (rsl_strdup): Fix off-by-one which included a trailing whitespace character in the copied string; simplify loop termination. (magic_rsl_to_request): Decline if the type is not of the form token/token; ignore an encoding which is not a valid token. (ascmagic): Don't append a note for content with escape sequences. Joe Orton 2026-09-10 06:24:37 +00:00
  • 0b5e046ad9 Add windows tests to the CI Jean-Frederic Clere 2026-09-10 06:20:43 +00:00
  • 3ffb2beeb0 Followup for 6aa1bce on windows Jean-Frederic Clere 2026-09-09 05:21:02 +00:00
  • 42e7013314 Add the bat files to make the testing more easy. Jean-Frederic Clere 2026-09-08 07:42:28 +00:00
  • a7ab8d5c48 vote Eric Covener 2026-09-07 20:53:06 +00:00
  • 257d589276 Rollback the incorrect part of Commit 6f1494b Jean-Frederic Clere 2026-09-07 09:50:25 +00:00
  • 4348e9c170 * modules/loggers/mod_log_json.c: Fix compiler warning pragmas around jansson includes. Check for clang before GCC (since clang defines __GNUC__), and add matching pragma pop directives. Joe Orton 2026-09-07 08:03:34 +00:00
  • 1ca3f5235e Vote, propose. Joe Orton 2026-09-07 07:31:52 +00:00
  • ee092801d4 CI: Enable modules/md's ACME pytest suite Giannis Christodoulou 2026-09-05 15:33:06 +00:00
  • 5628cb03b4 complete proposal, promote, vote Eric Covener 2026-09-04 21:36:08 +00:00
  • 6aa1bce467 mod_auth_digest: Keep Authentication-Info on error responses. Joe Orton 2026-09-04 21:09:48 +00:00
  • 6be6dcb63d * docs/manual/mod/mod_auth_digest.xml: Bring the documentation up to date with the module. Document one-time nonces (AuthDigestNonceLifetime 0); reduce AuthDigestQop to auth and AuthDigestAlgorithm to MD5, noting what was removed; state that shared memory is required; and rework the summary and security note to separate authentication from confidentiality and integrity. Joe Orton 2026-09-04 20:58:25 +00:00
  • 3bb7c38f83 Votes, promote. Joe Orton 2026-09-04 18:43:10 +00:00
  • f723596df6 Attempt to fix new, flaky pyhttpd test core/test_008_restart: Joe Orton 2026-09-04 17:15:28 +00:00
  • c7f3242526 Simplify handling of a2md in support/ and make both that and htcacheclean available in check/ for test runs: Joe Orton 2026-09-04 15:58:21 +00:00
  • 6904247e96 Fix memory leaks and use-after-free detected by ASan Jean-Frederic Clere 2026-09-04 14:26:06 +00:00
  • 995d437065 Arrange pyhttp to pass on windows. Done with the help of Claude Code Opus 4.6 Jean-Frederic Clere 2026-09-04 14:20:53 +00:00
  • 6f1494b474 Based on [PR665] install what is needed to build Apache httpd with vcpkg in window and fix some tests. Done with the help of Claude Code Opus 4.6 Jean-Frederic Clere 2026-09-04 12:54:05 +00:00
  • 9f1eb0bd33 propose OpenBSD compatibility fix Giovanni Bechis 2026-09-04 06:50:46 +00:00
  • a60f24461f xforms Eric Covener 2026-09-03 12:30:26 +00:00
  • e8d288a300 Merge r1937809 from trunk: Eric Covener 2026-09-03 12:30:06 +00:00
  • 9fb58f1b67 add a warning to elaborate on string-matching Eric Covener 2026-09-03 12:29:35 +00:00
  • 16a5c1777b Some whitewpace cleanups Jim Jagielski 2026-09-01 11:10:34 +00:00
  • fc722c619f Merge r1731662, r1934434, r1935944, r1935945, r1935946, r1935947, r1935948, r1935949, r1935950, r1935951, r1935952, r1935953, r1935954, r1937104, r1937105, r1937106, r1937107, r1937108, r1937109, r1937110, r1937111 from trunk: Jim Jagielski 2026-09-01 10:45:53 +00:00
  • d110597c67 Clean-ups from backports - Update CHANGES w/ entries - add new test file Jim Jagielski 2026-09-01 10:37:43 +00:00
  • 5b934373e3 https://github.com/apache/httpd/pull/703.patch Jim Jagielski 2026-09-01 10:27:29 +00:00
  • daf01dd2ec *) mod_dir: fix crash with no content-type. PR68527 Jim Jagielski 2026-09-01 10:24:52 +00:00
  • a4a0eff67a *) mod_http2: Do not drop an in-flight response when a client sends a graceful GOAWAY (error code 0) while streams it opened are still being processed; drain the open streams instead of tearing the session down (RFC 9113 compliant, bounded by Timeout). Async MPMs hit this far more than event. Independently useful; also a prerequisite for mpm_motorz+h2 Jim Jagielski 2026-09-01 10:21:58 +00:00
  • 8be3ef87f0 mod_auth_digest: Use siphash for the nonce hash where available: Joe Orton 2026-09-01 10:19:49 +00:00
  • 0f49205436 * modules/aaa/mod_auth_digest.c (note_digest_auth_failure): Drop the assignment to client_key which is never read, and the qop variable which only ever holds one string. Joe Orton 2026-09-01 10:19:42 +00:00
  • b4481edaae Promote backports with >=3 votes Jim Jagielski 2026-09-01 10:19:32 +00:00
  • 57968c056a * modules/aaa/mod_auth_digest.c (gc): Discard the entries of clients which have never authenticated before the least recently used. Joe Orton 2026-09-01 10:19:09 +00:00
  • 8e3c9de728 * modules/aaa/mod_auth_digest.c: Raise the default AuthDigestShmemSize to 8192 bytes, holding around 140 clients. Joe Orton 2026-09-01 10:18:47 +00:00
  • f4c4160fbf mod_auth_digest: Don't reuse client ids across a restart: Joe Orton 2026-09-01 10:18:34 +00:00