v2.4.6
版本发布时间: 2021-11-09 05:47:28
caddyserver/caddy最新发布版本:v2.9.0-beta.3(2024-11-06 02:32:38)
This release contains bug fixes and minor enhancements, including one patch with potential security implications related to path matching.
Notable patches:
- Path matchers unescape/clean URI paths to normalize match space
- Fix regex matching in
map
handler
Notable enhancements:
-
try_files
can now accept=nnn
(e.g.=404
) to yield a status code instead of a file. - Template actions
httpError
(stop eval and return HTTP error) andimport
(likeinclude
but changes template context) were added - New placeholder
{http.request.tls.client.certificate_der_base64}
Changelog
749e55c7 caddycmd: Add --keep-backup
to upgrade commands (#4387)
062657d0 caddycmd: Add --skip-standard
to list-modules
command, quieter output (#4386)
be5f77e8 caddycmd: fix caddy validate/fmt help message (#4377)
907e2d8d caddyhttp: Add support for triggering errors from try_files
(#4346)
cbb045a1 caddyhttp: Placeholder for client cert in DER + base64 format (#4241)
e7457b43 caddyhttp: Sanitize the path before evaluating path matchers (#4407)
837cdc56 caddyhttp: reverseproxy: clarify warning for -insecure (#4379)
24fda751 caddytls: Mark storage clean timestamp at end of routine (#4401)
a779e1b3 fastcgi: Fix Caddyfile parsing when handle_response
is used (#4342)
3f2c3ecf fastcgi: Implement try_files
override in Caddyfile directive (#4347)
64f8b557 fileserver: Fix compression breaks using httpInclude (#4352) (#4358)
d3a02599 fileserver: Fix displayed file size if it is symlink (#4354)
0a5f7a67 fileserver: Make file listing links purple once visited (#4356)
a21d5a00 fileserver: Prevent focusing filter from scrolling on page load (#4393)
33c70f41 fileserver: properly handle escaped/non-ascii paths (#4332)
c4790d7f go.mod: Carefully upgrade some dependencies (fix #4251)
997e41de go.mod: Replace promptui with Apache-compatible fork (fix #4394)
f376a38b go.mod: Update ACMEz and CertMagic
a4372066 headers: Canonicalize case in replace (fix #4330)
012d2353 httpcaddyfile: Empty tls policy for internal http localhost (#4398)
0ffb2229 httpcaddyfile: Preserve IPv6 addresses through normalization (fix #4381)
a2119c09 map: Fix 95c03506 (avoid repeated expansions)
95c03506 map: Fix regex mappings
3336faf2 reverseproxy: Log error at error level (fix #4360)
b0920615 reverseproxy: Prevent copying the response if a response handler ran (#4388)
f73f55db reverseproxy: Sanitize scheme and host on incoming requests (#4237)
5fda9610 templates: Add 'import' action (#4321)
16f75212 templates: Add tests for funcInclude and funcImport (#4357)
2392478b templates: Propagate httpError to HTTP response
1、 caddy_2.4.6_checksums.txt 3.91KB
2、 caddy_2.4.6_freebsd_amd64.tar.gz 11.28MB
3、 caddy_2.4.6_freebsd_arm64.tar.gz 10.21MB
4、 caddy_2.4.6_freebsd_armv6.tar.gz 10.59MB
5、 caddy_2.4.6_freebsd_armv7.tar.gz 10.57MB
6、 caddy_2.4.6_linux_amd64.deb 11.19MB
7、 caddy_2.4.6_linux_amd64.tar.gz 11.16MB
8、 caddy_2.4.6_linux_arm64.deb 10.25MB
9、 caddy_2.4.6_linux_arm64.tar.gz 10.22MB
10、 caddy_2.4.6_linux_armv5.deb 10.62MB
11、 caddy_2.4.6_linux_armv5.tar.gz 10.6MB
12、 caddy_2.4.6_linux_armv6.deb 10.62MB
13、 caddy_2.4.6_linux_armv6.tar.gz 10.6MB
14、 caddy_2.4.6_linux_armv7.deb 10.6MB
15、 caddy_2.4.6_linux_armv7.tar.gz 10.58MB
16、 caddy_2.4.6_linux_ppc64le.deb 9.84MB
17、 caddy_2.4.6_linux_ppc64le.tar.gz 9.8MB
18、 caddy_2.4.6_linux_s390x.deb 10.81MB
19、 caddy_2.4.6_linux_s390x.tar.gz 10.73MB
20、 caddy_2.4.6_mac_amd64.tar.gz 11.74MB
21、 caddy_2.4.6_mac_arm64.tar.gz 11.62MB
22、 caddy_2.4.6_windows_amd64.zip 11.21MB
23、 caddy_2.4.6_windows_arm64.zip 10.27MB
24、 caddy_2.4.6_windows_armv5.zip 10.78MB
25、 caddy_2.4.6_windows_armv6.zip 10.78MB
26、 caddy_2.4.6_windows_armv7.zip 10.76MB