We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg/filesystem/driver/remote/handler.go中 URLEncode是QueryEscape,这里错误的使用了decode函数QueryUnescape,这是一个严重的错误,会导致如xxx%xxx文件无法保存
The text was updated successfully, but these errors were encountered:
还发现了一个错误 pkg/filesystem/driver/remote/handler.go里面 func (handler Driver) Source函数,签名时候需要对fileName进行url.QueryEscape,否则上述文件会签名失败,参考代码signedURI, err = auth.SignURI( handler.AuthInstance, fmt.Sprintf("%s/%d/%s/%s", controller, speed, sourcePath, url.QueryEscape(fileName)), ttl, )
signedURI, err = auth.SignURI( handler.AuthInstance, fmt.Sprintf("%s/%d/%s/%s", controller, speed, sourcePath, url.QueryEscape(fileName)), ttl, )
Sorry, something went wrong.
Fix: using url escape instead of unescape in remote handler (#1051)
700e133
No branches or pull requests
pkg/filesystem/driver/remote/handler.go中
URLEncode是QueryEscape,这里错误的使用了decode函数QueryUnescape,这是一个严重的错误,会导致如xxx%xxx文件无法保存
The text was updated successfully, but these errors were encountered: