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

Fixed Zimuku filename case #2644

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

anderson-oki
Copy link
Collaborator

Description

Closes #2588

Zimuku filename is returned from the response header Content-Disposition which can be mixed letter case, and won't guarantee. Since we make several comparisons and assumes that extension would be .rar or .zip it won't handle when the extension have uppercase letters.

Since the filename is used for comparison and logs only, we can simply cast it to lowercase.

@anderson-oki anderson-oki self-assigned this Aug 29, 2024
@anderson-oki anderson-oki marked this pull request as ready for review August 29, 2024 23:52
@anderson-oki anderson-oki merged commit 0fd635c into development Aug 30, 2024
2 checks passed
@anderson-oki anderson-oki deleted the fix/zimuku-file-extension branch August 30, 2024 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant