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 finding filename and remove duplicate code. #976

Merged

Conversation

alireza-delavari
Copy link
Contributor

  • changed filename_splited.strip() to filename_splited.strip(' "\'') to remove space,double quotation and single quotation from beginning and end of filename.

  • get filename from link properly when file name not found in 'Content-Disposition' response header.

  • remove duplicate codes.

maybe related to issue #973

@alireza-amirsamimi alireza-amirsamimi merged commit fe5bb80 into persepolisdm:master May 20, 2024
@alireza-amirsamimi
Copy link
Member

thank you 👍

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.

None yet

2 participants