Skip to content

suggestedFilename always returns a valid filename #2897

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

Closed
wants to merge 1 commit into from

Conversation

Coeur
Copy link
Contributor

@Coeur Coeur commented Oct 10, 2020

The property suggestedFilename is documented with:

This method always returns a valid filename.

The default initializer init(url:mimeType:expectedContentLength:textEncodingName:) had a correct implementation, but the required init?(coder:) was unsafe.

This is the same PR as #2643 created in February 2020, but for the main branch.

@MaxDesiatov
Copy link
Contributor

@swift-ci please test

@AZero13
Copy link
Contributor

AZero13 commented Oct 2, 2022

Any update on this @parkera

@parkera
Copy link
Contributor

parkera commented Jul 19, 2024

Closing older PRs after re-core of swift-corelibs-foundation on swift-foundation (#5001).

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.

4 participants