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

attachment_filename is replaced with download_name for Flask's send_f… #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amit-raut
Copy link
Contributor

@amit-raut amit-raut commented Oct 17, 2022

Updated code for successful downloading of the PCAP file. Currently the code is based on the deprecated method parameter attachment_filename. attachment_filename is replaced with download_name in Flask's send_file method (Please see pallets/flask#4753 for more details).

I would love to maintain this project but since it was removed and re-added under Cisco-Talos, I lost write ability to this repository. Please add write access to me for this repo (or I'll have to go through the pull requests every time I need to make changes to this repo)

Thanks,
Amit Raut

…ile method

Updated code for successful downloading of the PCAP file. Currently the code is based on the deprecated method parameter `attachment_filename`. `attachment_filename` is replaced with `download_name` in Flask's send_file method (Please see pallets/flask#4753 for more details).

Thanks,
Amit Raut
passwa11 added a commit to passwa11/Re2Pcap that referenced this pull request Feb 22, 2023
fix 
TypeError: send_file() got an unexpected keyword argument 'attachment_filename' from Cisco-Talos#8 and pallets/flask#4753
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