You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very surprising. It seems NSURL.path copies the filesystem path in POSIX-style, which I'm guessing does some additional validation of the percent-decoded bytes.
The result is that a path containing invalid UTF-8 appears to be completely empty. It doesn't even have any Unicode replacement characters letting you know something didn't decode properly.
The text was updated successfully, but these errors were encountered:
Environment
macOS 11.6, Xcode 13.1 (13A1030d)
Additional Detail from JIRA
md5: 03f9ee3f9bfabb2973b3364825b0287d
Issue Description:
This is very surprising. It seems NSURL.path copies the filesystem path in POSIX-style, which I'm guessing does some additional validation of the percent-decoded bytes.
The result is that a path containing invalid UTF-8 appears to be completely empty. It doesn't even have any Unicode replacement characters letting you know something didn't decode properly.
The text was updated successfully, but these errors were encountered: