Skip to content

attachment_filename is replaced with download_name - #8

Open
amit-raut wants to merge 1 commit into
Cisco-Talos:masterfrom
amit-raut:patch-1
Open

attachment_filename is replaced with download_name#8
amit-raut wants to merge 1 commit into
Cisco-Talos:masterfrom
amit-raut:patch-1

Conversation

@amit-raut

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

Copy link
Copy Markdown
Contributor

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
@amit-raut amit-raut changed the title attachment_filename is replaced with download_name for Flask's send_f… attachment_filename is replaced with download_name Dec 4, 2025
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