Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lovelacelee opened this issue Nov 22, 2023 · 0 comments
Open

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

lovelacelee opened this issue Nov 22, 2023 · 0 comments

Comments

@lovelacelee
Copy link

lovelacelee commented Nov 22, 2023

您好,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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant