Skip to content
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

Fix non-ascii filename download bug #141

Merged
merged 2 commits into from
Mar 29, 2020
Merged

Fix non-ascii filename download bug #141

merged 2 commits into from
Mar 29, 2020

Conversation

tyraniter
Copy link

fix non-ascii filename downloading error.
When download files with non-ascii filename,the 'length' part in the packet is the length of string of the filename,but not bytes of encoded filename,so throw an index-out-of-bounts error

…-ascii filename,the 'length' part in the packet is the length of string but not bytes,so throw an index-out-of-bounts error
@tyraniter tyraniter changed the title Dev Fix non-ascii filename download bug Mar 23, 2020
@Cx01N Cx01N self-requested a review March 23, 2020 04:19
@Cx01N Cx01N added the bug Something isn't working label Mar 23, 2020
@Cx01N Cx01N merged commit 8d99f3e into BC-SECURITY:dev Mar 29, 2020
vinnybod pushed a commit that referenced this pull request Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants