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

This commit is contained in:
HFO4 2020-05-30 19:35:28 +08:00
parent 14f5982b47
commit a7ba357cb8

View file

@ -271,7 +271,7 @@ func (handler Driver) Source(
return "", err
}
fileKey, err := url.Parse(path)
fileKey, err := url.Parse(url.PathEscape(path))
if err != nil {
return "", err
}