mirror of https://github.com/cloudreve/Cloudreve
Fix: hash mark in file name lead to 404 error (#405)
parent
14f5982b47
commit
a7ba357cb8
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue