-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
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
对象存储访问存在访问含中文字符的url不正确 #154
Comments
Title: Object storage access has incorrect access to URLs containing Chinese characters. During use, it was found that moememos may have incorrectly processed URL requests containing Chinese characters (or unicode) and double-encoded the '%' symbol: Correct url: It is suspected that ‘%’ is encoded again as %25 |
Please provide your Memos server version and examples of the Moe Memos does re-encode parts of The response of
|
I am now using Memos
|
I am using Aliyun OSS, it seems that Aliyun OSS will convert the URLs automatically.
|
Thank you for providing the information! I've figured out that it relates to how Memos writes I'll remove the additional URL encoding in Moe Memos and separately open an issue/pull request in the Memos repository to add percent-encoding for |
在使用中发现,moememos可能存在对含有中文字符(或unicode)的url请求处理不正确,对‘%’符号进行了双重编码:
正确的url:
<OSS接入点>/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%.png
MoeMemos 发出的错误URL:
<OSS接入点>/%25E5%25B1%258F%25E5%25B9%2595%25E6%2588%25AA%25E5%259B%25BE%.png
疑似将‘%’ 再次编码为 %25
The text was updated successfully, but these errors were encountered: