Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Aeon512
Copy link
Contributor

@Aeon512 Aeon512 commented Mar 25, 2023

Some servers provided wrongly formatted content-disposition headers, e.g. Artifactory writes as Content-Disposition

attachment; filename="setup.exe"; filename*=UTF-8''"setup.exe"

where the quotations (") within the filename* parameter yield a C# Format-Exception and cause a error message to be displayed. Since AutoUpdater.NET does not rely on the Content-Disposition Header but can fall-back to the filename from the download URL, this PR catches such errors and ignores such faulty Content-Disposition headers.

@ravibpatel ravibpatel merged commit 36b569c into ravibpatel:master Mar 31, 2023
@Aeon512
Copy link
Contributor Author

Aeon512 commented Mar 31, 2023

Thanks for accepting.
@ravibpatel Any plans for an 1.7.8 or 1.8.0 version? :-)
Seems like there is just the git tag missing....

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.

2 participants