Skip to content

Conversation

@noahsmartin
Copy link
Contributor

@noahsmartin noahsmartin commented Nov 25, 2025

The ObjC version of this URL constructing can return nil if the string provided is an empty string in which case our code would crash. To protect against this we can migrate a bit more of this file manager code to Swift and guarantee it won't crash

Closes #6900

@noahsmartin noahsmartin force-pushed the fixURLConstructingCrash branch from 551910d to d27ad64 Compare November 25, 2025 16:07
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@noahsmartin it would be great to add a test for this if possible.

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.

fix: Move file manager URL constructing to Swift

4 participants