The filename cannot be displayed if it contains Chinese

  1. Caddy version (caddy version): v2.4.6

  2. How I run Caddy:
    a. System environment:
    Ubuntu 20.04.3 LTS x86_64

b. Command:

systemctl start caddy

d. My complete Caddyfile or JSON config:

:2015 {
file_server browse {
root /var/www/html/wordpress/zb
encode gzip

  1. The problem I’m having:

The Chinese filename cannot be displayed when downloading the file

  1. What I already tried:
    When using caddy1.0.5, there are no problems.
1 Like

I think this has been resolved on the master branch. Try building from source, to get the latest code.

$ xcaddy build master
1 Like

It has been resolved. :smiley:


This topic was automatically closed after 30 days. New replies are no longer allowed.