-
Notifications
You must be signed in to change notification settings - Fork 220
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
Discord Parser showing wrong attachment file #1898
Comments
Hi @felipecampanini, thanks for reporting. Does this affect any released version? Or just PR #1859? |
Hi @lfcnassif, this affects all previously released versions. |
Fine! So, if we release a 4.1.5 version, I'll cherry pick the fix, thank you! |
Hi @felipecampanini. That commit seems to me to allow a possible ArrayIndexOutOfBoundsException, possibly when handling corrupted data. Could you complement it to check for the array length returned by the split call? |
Sorry for the delay, thanks @lfcnassif |
If there are two files with the same name, the parser could show the wrong file.
The bug was fixed in commit 902326d.
Now the file is fetched based on the name and id contained in the URL.
The text was updated successfully, but these errors were encountered: