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

pull/427/head
HFO4 2020-05-30 19:35:28 +08:00
parent 14f5982b47
commit a7ba357cb8
1 changed files with 1 additions and 1 deletions

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
}