Skip to content

Releases: mjpclab/go-http-file-server

Version 1.16.0

30 Jan 13:56
Compare
Choose a tag to compare

Main changes

  • add env var GHFS_CPU_PROFILE_FILE to profile CPU usage
  • minor improvements and fixes

Breaking changes

replace --force-dir-slash with --auto-dir-slash

Before:

Option name is --force-dir-slash.

If a directory list page is requested without tailing "/" in the URL,
redirect to the URL with the suffix.

After:

Option name is --auto-dir-slash.

If a directory list page is requested without tailing "/" in the URL,
redirect to the URL with the suffix.

If a file is requested with tailing "/" in the URL,
redirect to the URL without the suffix.

remove support for case-sensitive username

Username is always case-insensitive now. --user-match-case is removed.
So case-sensitive username is no more supported.


主要变更

  • 添加环境变量GHFS_CPU_PROFILE_FILE来记录CPU使用日志
  • 次要改进和修复

破坏性变更

--force-dir-slash替换为--auto-dir-slash

之前:

选项名称为--force-dir-slash

如果在请求目录列表页时URL没有以“/”结尾,重定向到带有该结尾的URL。

之后:

选项名称为--auto-dir-slash

如果在请求目录列表页时URL没有以“/”结尾,重定向到带有该结尾的URL。

如果在请求文件时URL以“/”结尾,重定向到不带有该结尾的URL。

不再支持区分大小写的用户名

现在,用户名总是不区分大小写。--user-match-case现已移除。
因此不再支持大小写敏感的用户名。

Version 1.15.16

05 Jan 15:44
Compare
Choose a tag to compare

Security fixes

Skip unauthorized sub directories for archiving.

Other changes

Minor improvements and fixes.


安全性修复

打包时跳过未授权访问的子目录。

其它变更

次要改进和修复。

Version 1.15.15

06 Oct 06:20
Compare
Choose a tag to compare
  • apply CORS headers before custom headers, so later one can overrides
  • fix: add "execute" mode to directory in TAR archive
  • include response status code to access log
  • minor improvements and fixes.

Version 1.15.14

11 Aug 11:22
Compare
Choose a tag to compare

Minor improvements and fixes.


次要改进和修复。

Version 1.15.13

05 Aug 14:32
Compare
Choose a tag to compare

Minor improvements and fixes.


次要改进和修复。

Version 1.15.12

14 Jul 12:00
Compare
Choose a tag to compare

Minor improvements and fixes.


次要改进和修复。

Version 1.15.11

21 Jun 12:58
Compare
Choose a tag to compare

Minor improvements and fixes.


次要改进和修复。

Version 1.15.10

10 Jun 04:32
Compare
Choose a tag to compare

Minor improvements and fixes.


次要改进和修复。

Version 1.15.9

05 Apr 05:13
Compare
Choose a tag to compare
  • Only accepts POST method for creating directory and deleting files/directories. Supporting for GET method is removed. Note this is a breaking change for API calls.
  • --hsts now accepts an optional value as max-age.
  • Minor improvements and fixes.

  • 仅接受以POST方式请求创建目录和删除文件/目录。对GET请求的支持已删除。注意这对API调用是破坏性变更。
  • --hsts现在接受可选的值作为max-age。
  • 次要改进和修复。

Version 1.15.8

11 Jan 12:45
Compare
Choose a tag to compare

Minor improvements and fixes.


次要改进和修复。