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

[SR-1803] [stdlib] Data initialised from base64 encoded string does not use correct options #4567

Closed
swift-ci opened this issue Jun 17, 2016 · 2 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-1803
Radar rdar://26818909
Original Reporter discorev (JIRA User)
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug, SDKOverlay
Assignee None
Priority Medium

md5: db4caad46444637ce1912423973501f6

Issue Description:

the stdlib Data initialiser for a base64 encoded string is using Base64EncodingOptions rather than Base64DecodingOptions - preventing the use of .ignoreUnknownCharacters when decoding a base64 encoded string.

Fixed in pull request: apple/swift#3031

@parkera
Copy link
Member

parkera commented Jun 20, 2016

I merged your PR. Thanks!

@parkera
Copy link
Member

parkera commented Jun 20, 2016

9da8decff8145d91a4e4cee5ac667cd5cf38b995

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 6, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants