提交 a7ba357c 编写于 作者: H HFO4

Fix: hash mark in file name lead to 404 error (#405)

上级 14f5982b
...@@ -271,7 +271,7 @@ func (handler Driver) Source( ...@@ -271,7 +271,7 @@ func (handler Driver) Source(
return "", err return "", err
} }
fileKey, err := url.Parse(path) fileKey, err := url.Parse(url.PathEscape(path))
if err != nil { if err != nil {
return "", err return "", err
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册