zdir icon indicating copy to clipboard operation
zdir copied to clipboard

搜索条目的URL拼接规则不对,导致链接无法访问

Open lovelacelee opened this issue 2 years ago • 0 comments

您好,ZDir简捷好用,方便部署,报告一个问题 出现问题的版本: v3.3.0 系统及环境:Linux 手动安装 问题如下图所示 image

文件目录、子目录文件连接正常,仅是搜索出来的列表条目详情中的URL链接有此问题,应该是controller/Find的拼接有问题。

Fixed:

	name_temp := strings.Split(value, "/")
	new_info.Name = name_temp[len(name_temp)-1]
        // Add "/" here
	new_info.Fpath = "/" + value

lovelacelee avatar Nov 22 '23 06:11 lovelacelee