[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Support whitespaces in data #15

Open
RazrFalcon opened this issue Jul 5, 2021 · 0 comments
Open

Support whitespaces in data #15

RazrFalcon opened this issue Jul 5, 2021 · 0 comments

Comments

@RazrFalcon
Copy link
let (data, _) = try "data:text/plain;base64,\nAAECA3Rl\nc3QK".dataURIDecoded()
print(String(bytes: data, encoding: .utf8)!.debugDescription)

This code prints \nAAECA3Rl\nc3QK, while it should print \0\u{01}\u{02}\u{03}test\n

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant