You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Steps to reproduce the behavior (as minimally and precisely as possible)
搞一个中文放在目录里, 用s3协议访问,客户端直接报错。S3 Browser 11.7.5
协议冲突。 其实是返回的内容最后面缺东西,解析失败。
Expected behavior
A clear and concise description of what you expected to happen.
Urgency
Describe the impact and urgency of the bug.
Are you planning to fix it
Please indicate if you are already working on a PR.
no
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Alluxio Version:
What version of Alluxio are you using?
alluxio-2.9.5
Describe the bug
A clear and concise description of what the bug is.
当目录中有中文名的文件时,S3客户端连接不上。
原因是服务器输出的 content_length长度不正确,导致内容少几个字节,解析xml失败。
the output is like this.
结尾的ListBucketResult不完整。
有一个文件的名字是"副本.txt", utf-8 编码的。
输出的xml内容里面最后的不完整, 少了4个字节。
原因是http 头里面的content_length 比实际内容少4个字节。
为什么是4个字节呢? 推测是在计算内容长度时,计算的是字符的个数,“副本”这个词长度得到的是2,但是实际上是6(两个utf-8)的长度,所以少了4.
二进制可以看出来:
To Reproduce
Steps to reproduce the behavior (as minimally and precisely as possible)
搞一个中文放在目录里, 用s3协议访问,客户端直接报错。S3 Browser 11.7.5
协议冲突。 其实是返回的内容最后面缺东西,解析失败。
Expected behavior
A clear and concise description of what you expected to happen.
Urgency
Describe the impact and urgency of the bug.
Are you planning to fix it
Please indicate if you are already working on a PR.
no
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: