Skip to content

Conversation

@cuklev
Copy link
Contributor

@cuklev cuklev commented Oct 7, 2017

Content-Disposition: attachment; filename=correct.jpg; somethingelse=/wrong.jpg
curl -O -J saves to wrong.jpg when it should probably save to correct.jpg.

@cuklev cuklev changed the title Do not jump over seimicolons when filename contains a path Do not jump over semicolons when filename contains a path Oct 7, 2017
Copy link
Member

@bagder bagder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I also updated test 1422 to verify this and will amend your commit with it when I merge!

@bagder
Copy link
Member

bagder commented Oct 9, 2017

Thanks!

@bagder bagder closed this in c95c92d Oct 9, 2017
@cuklev cuklev deleted the content-disposition-filename-parse branch December 5, 2017 22:07
@lock lock bot locked as resolved and limited conversation to collaborators May 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

2 participants