mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-28 19:01:57 +08:00
Fix: hash mark in file name lead to 404 error (#405)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user