Skip to content

Version 1.10.12

Compare
Choose a tag to compare
@marjune163 marjune163 released this 15 Feb 10:11

Main improvements

use Option key to focus first/last item on Mac platform

On Mac platform, Cmd+ArrowLeft and Cmd+ArrowRight shotcut key is
used by browser to navigate page backward and forward. So for moving to
first/last item, change the shortcut key from Cmd to Opt.

Support uploading pasted image or text

When uploading is enabled for a directory, pasting image or text content will upload that content as a file.

add download param for directory list page

If param download exists in URL parameter when rendering a directory
list page, render a download tool friendly page:

  • hide path list
  • hide sortable header
  • hide parent directory link

That's convenient for tools like "wget" to download files recursively. e.g.

wget --recursive -nc -nH -np http://localhost/dir/?download

fix: escape special chars in filename in URL

Escape chars like ?, &, # and = to avoid being treated as meta characters.


主要改进

Mac平台使用Option键来移动到首/末项

在Mac平台,Cmd+左方向键和Cmd+右方向键已被浏览器用来前进和后退。因此使用Opt键代替Cmd键。

上传粘贴的图像和文本

当某个目录启用上传后,粘贴图像或文本会将此内容上传为文件。

为目录列表页添加download参数

如果URL参数中出现download,显示一个对下载工具友好的页面:

  • 隐藏路径列表
  • 隐藏可排序表头
  • 隐藏上级目录链接

这为“wget”之类的工具递归下载提供了方便。例如:

wget --recursive -nc -nH -np http://localhost/dir/?download

修复:对URL中文件名中的特殊字符转义

对字符?&#=转义以避免被识别为元字符。